CBSE Class 11 Computer Science
Question 57 of 161
Flow of Control — Question 39
Back to all questions 39
Question Question 39
How many times does the following code execute ?
x = 1
while (x <= 5):
x + 1
print (x)- 6
- 1
- 4
- 5
- infinite ✓
How many times does the following code execute ?
x = 1
while (x <= 5):
x + 1
print (x)