Vidyalelo
Python · Q29

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 29

Q29

What will the following loop print:for i in range(3): print(i)

A.
0
1
2
Answer
B.
1
2
0
C.
1
2
3
D.
1
2
2

Answer: Option A

Solution

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