Vidyalelo
Python · Q1

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 1

Q1

Which loop in Python is ideal for situations where you don't know the number of iterations?

A.
For Loop
B.
While Loop
Answer
C.
Do-While Loop
D.
Infinite Loop

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board