drag to orbit · scroll to zoom
← Playground

🪜 Swing Set · list

A list is a numbered row of swings. Each seat holds a value. Pick a number to grab what's in that seat — numbering starts at ZERO.

List contents
["apple", "banana", "cherry", "date"]
Pick index
swings[0] → "apple"
Pick an index, then grab the value from that swing.
Python code
swings = ["apple", "banana", "cherry", "date"] swings[0]

💡 swings[0] is the first swing — "apple". Lists count from zero, just like the Ferris wheel cabins.