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

Popular posts from this blog

Job | Job Opening for Java Developer

NET Software Developer with cloud - F2F Interview - Bangalore??????

Dot Net Developer????