📦
الدرس 2
Variables: boxes with data
📖 الدرس
──▶
🎯 اختبار — اختر الترجمة
──▶
✅ أُنجز الدرس
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.
🔢
عدد صحيح: 42
🔤
نص: "مرحبا"
✅
منطقية: صح/خطأ
💧
عشري: 3.14
📋
قائمة: [1,2,3]
🕳
فارغ: لا شيء
💡 age = 16 is an assignment. age == 16 is the question "is it 16?". One = stores, two == asks!