What will be the output of the following code:
x = 10
y = 5
if x > y:
x = x + y
y = x - y
x = x - y
else:
x = x * y
y = x / y
x = x / y
print(x, y)
Options:
a. 5 10
b. 10 5
c. 50 1
d. 1 50
Answer:
Answer by student
a. 5 10
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.