Vidyalelo
Python · Q22

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 22

Q22

What is the output of the following code snippet:for i in range(3, 0, -1): print(i)

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

Answer: Option A

Solution

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