topic/Loops
Start Test
Question No
Title
Type
Marks
412.
What will be the output of the following code?for i in range(3): print(i)
MCQ
5
413.
Which keyword is used to skip the rest of the code in the current iteration of a loop and move to the next iteration?
MCQ
5
414.
What is the purpose of the else block in a Pythonfororwhileloop?
MCQ
5
415.
Which loop in Python is used for iterating over a sequence until a specified condition is False?
MCQ
5
416.
What does theenumeratefunction do when used in aforloop?
MCQ
5