Python Define Variable In Function On Calculator