Q3Numerical3 Marks22 Dec 2024
What will be the output of the python code snippet below? Enter an integer as your answer.
```
x = 2
y = 3
iterations = 0
while x < 50:
x = x * y
iterations += 1
print(iterations)
```
Press Enter to check.
Programming in Python · Week 4