📦
Lekce 2
Variables: boxes with data
📖 Lekce
──▶
🎯 Kvíz — vyber překlad
──▶
✅ Lekce hotová
A variable is a named box. You write name = "Anna" — and the box called name holds the text "Anna". Data has types: numbers, strings, true/false.
🔢
Celé číslo: 42
🔤
Text: „Ahoj“
✅
Logika: ano/ne
💧
Desetinné: 3,14
📋
Seznam: [1,2,3]
🕳
Prázdné: nic tam není
💡 age = 16 is an assignment. age == 16 is the question "is it 16?". One = stores, two == asks!