Home / MCQ Bank / Computer
Computer Conditional Formatting (While And For Loops)

What is the output of the following code snippet: count = 0 while count < 3: print("Hello") count += 1

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • Hello Hello Hello

Related Computer Questions

Which of the following is stored at client side? What will be the output of the following C code? #include <stdio.h> #define SYSTEM 20 int main() { int a = 20; #if SYSTEM == a printf("HELLO "); #endif #if SYSTEM == 20 printf("WORLD\n"); #endif } What is the purpose of using the next keyword within a block in Ruby? How can you create a private attribute in a Python class? In NLP, what does the term "syntax" refer to?