What will be the output of the following code:
a = 20
b = 10
if a % b == 0:
a = a // b
b = a * b
else:
a = a * b
b = a // b
print(a, b)
A) 2 20
B) 20 2
C) 200 10
D) 10 200
Answer:
Answer by student
A) 2 20
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.