CBSE Class 12 Computer Science
Question 35 of 120
Review of Python Basics — Question 9
Back to all questionsrange()
Reason — The range() function in Python is used to iterate over a sequence of numbers by specifying a numeric end value within its parameters. It takes parameters for the start, stop, and step values to define the range of numbers to be generated.