Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated September 2025
Definition
A built-in Python function that generates a sequence of numbers within a specified range. The range can be defined by providing a start, stop, and step value.
Related terms
start: The initial value or position from where something begins.
stop: The final value or position where something ends.
step: The increment or difference between consecutive values in the range.