Important Notice:
M3-R5.1 — Conditional & Iterative Statements MCQ
23 Questions  •  M3-R5.1
20:00
← Back
1
Which keyword starts a conditional block in Python?
2
Correct syntax for if-else in Python?
3
elif in Python is equivalent to?
4
range(5) generates?
5
for i in range(1, 6): iterates?
6
while loop runs as long as?
7
break statement in a loop?
8
continue statement in a loop?
9
pass statement in Python?
10
A for loop in Python iterates over?
11
if statement executes code when condition is?
12
elif in Python is short for?
13
else block executes when?
14
for loop in Python iterates over?
15
range(2, 8) generates?
16
break statement?
17
continue statement?
18
pass statement does?
19
Nested loop is?
20
Infinite loop occurs when?
21
range(1, 10, 2) generates?
22
for i in "Hello": prints?
23
Indentation in Python loops is?
Answered: 0 / 23