🔀
Ders 3
Conditions and loops: the brain
📖 Ders
──▶
🎯 Quiz — çeviriyi seç
──▶
✅ Ders tamam
If it rains — take an umbrella: that is if. Do exercise every morning — that is a loop. Every program is built from these two bricks.
- ●if age >= 18: grant access
- ●while tired: keep sleeping
- ●for day in week: check inbox
🔀
if — eğer koşul
🔁
while — doğru olduğu sürece
🔂
for — her biri için
⛔
break — döngüyü durdur
↩️
return — sonucu döndür
➡️
else — yoksa
🎯
Kendini dene!
Quiz — çeviriyi seç →
🖨 Çalışma sayfası
Konuyu antrenörle pekiştir — ders sonrası gibi