fayotech.academy🐍 Python: First Steps
Build things

🧺 Lists: many things, one box

Why: Handle many values at once with lists.

Unlocks: Real algorithms — like finding the biggest number.

In Pixel Painter, one row of the picture was 8 numbers side by side. Programs constantly need “many values, in order”: pixels, players, prices, messages. Python's box-for-many is the list — square brackets, commas between items.

Lists grow with .append(), and loops walk through them item by item — this pair is half of all real-world Python:

Now combine everything you know — list, loop, if — in one small program that finds the biggest number. (You saw this exact algorithm run in the homepage demo!)

Quick challenge

colors = ["red", "green", "blue"] — what is colors[1]?

🔍 Go deeper: watch a list live in memory while code reads and changes it → PyDebug: Lists & Dicts.