How to write swapping two number program using python

a=5

b=6

#before swapping

print(a," ",b)

a,b=b,a

# After swapping


print(a," ",b)

Comments

Popular posts from this blog