K Kapnula
👤
📦
Lesson 2

Variables: boxes with data

📖 Lesson ──▶ 🎯 Quiz — pick the translation ──▶ ✅ Lesson done
4 × 5 = 20

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.

🔢
Integer: 42
🔤
String: "Hello"
✅
Boolean: true/false
💧
Float: 3.14
📋
List: [1,2,3]
🕳
Null: nothing inside
💡 age = 16 is an assignment. age == 16 is the question "is it 16?". One = stores, two == asks!
🎯
Test yourself!
Practice the topic with the trainer — like after class
Quiz — pick the translation → 🖨 Worksheet
← Previous Next →
💶 EUR 🇺🇸 1.09 USD 🇷🇺 90.17 RUB 🇵🇱 4.47 PLN 🇺🇦 49.40 UAH EZB · daily
⛽ Fuel E5 1.789€ E10 1.729€ Diesel 2.009€ Berlin · tankerkönig.de