?
What will be the output of the following Python code snippet?
What will be the output of the following Python code snippet?
x = 2
for i in range(x):
x += 1
print (x)
x = 2
for i in range(x):
x += 1
print (x)
Join the Discussion
Login to post a comment or share your explanation.
Login