Q. What is the output of the following code?
Code:
x = 10 y = 5 x, y = y, x print(x, y)
β
Correct Answer: (B)
5 10
Explanation: Values of `x` and `y` are swapped using tuple unpacking.