CBSE Class 12 Computer Science Question 76 of 105

Python Revision Tour — Question 2

Back to all questions
2
Question

Question 2a

Predict the output of the following code fragments:

count = 0         
while count < 10:
    print ("Hello")
    count += 1
Answer
Output
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello
Hello