Computer Science, asked by jeetanshruhela, 12 days ago

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 mohanshamsa
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