⌨️ap computer science principles review

Range (Function)

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The range function generates an ordered sequence of numbers within specified boundaries. It can be used in loops to iterate over a sequence of numbers or to create lists.

"Range (Function)" also found in:

2,589 studying →