K Kapnula
📦
الدرس 2

Variables: boxes with data

📖 الدرس ──▶ 🎯 اختبار — اختر الترجمة ──▶ ✅ أُنجز الدرس
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.

🔢
عدد صحيح: 42
🔤
نص: "مرحبا"
✅
منطقية: صح/خطأ
💧
عشري: 3.14
📋
قائمة: [1,2,3]
🕳
فارغ: لا شيء
💡 age = 16 is an assignment. age == 16 is the question "is it 16?". One = stores, two == asks!
🎯
اختبر نفسك!
ثبّت الموضوع بالمدرّب — كما بعد الحصة
اختبار — اختر الترجمة → 🖨 ورقة عمل
← السابق التالي →
⛅ 14° Potsdam 💨 11 km/h
💶 EUR 🇺🇸 1.12 USD 🇷🇺 93.87 RUB 🇵🇱 4.39 PLN 🇺🇦 50.32 UAH EZB · daily