What will be the output of the following:
X=10
y=20
x, y=y, X
print(x, y)
Answers
Answered by
4
Answer:
X=10
y=20
x,y=y,X #x becomes 20 and y becomes 10
print(x,y)
Output:
20 10
Similar questions
Math,
3 months ago
Math,
3 months ago
Social Sciences,
3 months ago
Social Sciences,
6 months ago
Math,
10 months ago
English,
10 months ago