1 Answer

0 votes
by
p, q = 20, 40

print(p, q)

p, q = q, p

print(p, q)

Output:

20 40

40 20
...