Important Python Mcqs

Which of the following is false regarding loops in Python?

a) for loop can be used to iterate through the elements of lists.
b) Loops are used to perform certain tasks repeatedly.
c) While loop is used when multiple statements are to executed repeatedly until the given condition becomes True.
d) While loop is used when multiple statements are to executed repeatedly until the given condition becomes False

Answer:

d) While loop is used when multiple statements are to executed repeatedly until the given condition becomes False

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?