Vidyalelo
Python · Q43

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 43

Q43

What will be the output of the following Python code? for i in range(2.0): print(i)

A.
0.0 1.0
B.
0 1
C.
error
Answer
D.
none of the mentioned

Answer: Option C

Solution

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