Q. What will be the value of ‘m’ and ‘n’ after execution of following code:
Code:m = 3;
for n in range(2, 7, 2):
n *= m
n = n-1
β
Correct Answer: (B)
3 and 17
m = 3;
for n in range(2, 7, 2):
n *= m
n = n-1
You must be Logged in to update hint/solution