Atom

Ranges

A range describes consecutive integer positions. The start is included and the end is excluded.

Visit three integers

Use a range as the input to a loop.

Atom
for number in 0..3:
    print(number)
Output
0
1
2

The loop stops before 3. This convention also applies when you use a range to slice.