Python program for swapping two numbers:-
Q = int( input("Please enter value for Q: "))
# To Swap the values of two variables
P, Q = Q, P
print ("The Value of P is after swapping: ", P)
print ("The Value of Q is after swapping: ", Q)
Python Calender Program Python odd and even program