A small step before this topic
Let’s start with three stops.
🏠 Home
🌳 Park
☕ Café
Home. Then the park. Then the café. Just a few things in a row.
Swipe when you’re ready
Point to the middle one.
0 · Home
1 · Park
2 · Café
The park is second. In Python, its position is 1, because counting starts at 0.
Same idea. One more small step.
That’s a list.
Home
Park
Café
A list keeps things in order. An index is just a position in that list.
Want to try a tiny question?
Which place is at position 0?
You can also keep scrolling