Class - 12 CBSE Computer Science Important Output Questions 2025
Predict the output of the following code fragments:
count = 0
while count < 10:
print ("Hello")
count += 1
Python
Python Control Flow
50 Likes
Answer
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Working
The while loop executes 10 times so "Hello" is printed 10 times
Answered By
17 Likes