Wednesday, 8 April 2020

Program: Swap two number using Python

a,b=eval(input("enter two number"))
a,b=b,a
print("number after swapping = ",a,b)

No comments:

Post a Comment