CBSE Class 11 Computer Science
Question 56 of 161
Flow of Control — Question 38
Back to all questions 38
Question Question 38
What is the output when this code executes ?
x = 1
while (x <= 5):
x + 1
print(x)- 6
- 1
- 4
- 5
- no output ✓
What is the output when this code executes ?
x = 1
while (x <= 5):
x + 1
print(x)