Last Updated on October 10, 2021 by InfraExam
What is the output of the following snippet?
x = 1 y = 2 z = x x = y y = z print (x, y)
1 1
1 2
2 2
2 1
Options 4 is the answer
Last Updated on October 10, 2021 by InfraExam
x = 1 y = 2 z = x x = y y = z print (x, y)
1 1
1 2
2 2
2 1