x = 5 y = 10 temp = x x = y y = temp print('The value of x after swapping: {}'. format(x)) print('The value of y after swapping: {}'. format(y))
Coder's Space
x = 5 y = 10 temp = x x = y y = temp print('The value of x after swapping: {}'. format(x)) print('The value of y after swapping: {}'. format(y))