You're the Vitals Medic! Program the heart monitor to REPEAT a step โ beep a heart, give a pill, check a temp โ as many times as you say. Press RUN and let the loop do the work!
๐ Today's Concept: Loops
A loop tells the computer: "do this step, then do it AGAIN, until you've done it a set number of times." Instead of writing "beep" five separate times, you write it once and say repeat 5. The computer counts each round for you โ that count is the heartbeat of every loop!
๐งฑ body โ the step that repeats๐ข count โ how many timesโฑ๏ธ run โ watch it loop!