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.
Challenge A:This should play the hihat on beats 1-8, but it never stops.