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 for...in range loop is a type of loop that repeats a block of code for a specific number of times. It iterates over a sequence of numbers defined by the range function.