How do you write a application to switch numbers in Python?
Example: P = int( enter("Please enter fee for P: "))
Q = int( input("Please enter price for Q: ")) # To change the values of two variables.
P, Q = Q, P. Print ("The value of P after swapping: ", P) Print ("The price of Q after swapping: ", Q)

Comments
Post a Comment