ENع
الدرس 07 · First steps in code

Making decisions: if and else

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

A program that always does the same thing is not much use. Programs make decisions with if, elif and else. Run one nine-line Python program three times with different inputs and follow a token along a track: each comparison answers True or False, and exactly one path runs.

10 دقيقة10 خطوات5 أسئلةBeginner
شكل 7 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.