Vidyalelo
Python · Q5

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 5

Q5

In a for loop, what does the range() function return?

A.
A sequence of numbers
Answer
B.
A single value
C.
A list of elements
D.
A string

Answer: Option A

Solution

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