Python Define Variable Type In Function On Calculator