consider the two variables a and b. write a program in Python to assign value 2 to variable a and value 3 to variable b. then interchange and display the values of a and b.
Answers
Answered by
2
Answer:
a=2
b=3
print("before swapping")
print("a=",a,"&b=",b)
print("after swapping")
print("a=",b,"&b=",a)
hope it helps you...
Similar questions
Math,
6 days ago
World Languages,
6 days ago
Social Sciences,
6 days ago
Geography,
12 days ago
Environmental Sciences,
8 months ago