Naar hoofdinhoud
← CursussenPython FoundationsModule 1 · Grondbeginselen van syntaxisterwijl lusfix13 / 174
+75 XP
Opdracht
📝 **Opdracht:** Vind de bug in `while`. Het programma moet 1..5 tonen maar lust oneindig. `count` wordt nooit verhoogd — voeg `count += 1` toe. 💡 **Correct:** ```python n = 1 while n <= 3: print(n) n += 1 ``` 🎯 **Verwachte uitvoer:** 1..5
✏️ Schrijf hier je code
🐍
Python laden...
Eenmalige download (~1 MB). Daarna direct beschikbaar.
📊 Resultaat
Klik op Uitvoeren om het resultaat te zien...

💬 Discussie

Wees de eerste — stel een vraag of deel een tip.
Log in om mee te doen aan de discussie. Lezen is gratis.
Discussie laden…