5. Loops That Never Stop

Infinite loops

A while loop only stops when its condition turns False. If nothing inside the loop changes that, it runs forever — CodeBlocks stops it and tells you.

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:This should play the hihat on beats 1-8, but it never stops.

Goal
hihat
1234
5678