6. while Loops

Looping while something is true

while keeps looping for as long as its condition is True. Change the variable inside the loop, or the condition never turns False and the loop never stops!

🎯 0/4 · 🥁 0 solved · 🏅 0

Challenge A:Start with b = 1. While b <= 4, play the hihat on b, then add 1 to b.

Goal
hihat
1234