Find the output of the following snippet.
x= 10
print(x)
y=20
x=y
print(x)
Answers
Answered by
1
Answer:
10
20
Explanation:
in first print statement, value of X is 10
then y=20
value of y is assigned in X
now X become 20
so it will print 20
Similar questions