Skip to content

Glossary: Python Basics

range()

Also written: range

A built-in function that produces a series of numbers, starting at 0 by default and stopping just before the number given. It is used to repeat a loop a set number of times.

Where the book teaches it

Related terms

for loop