Python Define Variable In Function On Calculator How Would I Solve