Consider the two variables a and b. Write a program in python to assign value 2 to variable a and 3 to variable b. Then interchange and display the values of a and b.
Answers
Answered by
7
Answer:
Explanation:
a=2
b=3
print("before swapping")
print("a=",a,"& b=",b)
print("after swapping")
print("a=",b,"& b=",a)
Similar questions