Read the Code Escape Room 3: Loops, How Many Times?

product thumbnail

by Creouts Publishing © 2026

Price: $3 USD

Subjects: computerscience,computationalThinking,edtech

Grades: 6,7,8,9

Description

Students learn and practice: how many times a for loop runs, what range() gives, running totals traced pass by pass, while loops that overshoot or run 0 times, loops inside loops, and break (Grade 6-9 level). STEP 3 of Learn to Read Code (7 escape rooms, bundle 20% off). Short Python 3 programs on the cards: no install, any device. Story: game jam at the Copperleaf Makerspace. Zinnia the lemur and the team read their AI helper's loop code to open the locked music loop folder. 4 rooms, 30 cards. HOW IT WORKS - Room 1: count the repeats; the values of i in a range. - Room 2: running totals, pass tables, growing text. - Room 3: while loops: final values, passes, a loop that runs 0 times. - Room 4: loops inside loops, rows of stars, break. SELF-CHECKING WITH HINTS 9 typed, 8 tile and 2 tap answers plus the lock. A learn card opens each room; two hints per puzzle. ACCURACY Every program on the cards was run by software, and each answer comes from its real output. Solved from the cards alone by separate AI test sessions. Not tested with a class. SOURCES Aligned with CSTA K-12 CS Standards (2017) 2-AP-12 and 2-AP-17; Lister et al. (2004) and Lopez et al. (2008) on code reading and tracing; Sentance, Waite and Kallia (2019), PRIMM (predict before you run); Python 3 documentation. No endorsement implied. HOW IT WAS MADE Text written with AI help and checked. Pictures drawn in code. Needs internet. For learning only. All people and places are made up.

Acknowledgements

Text fonts: Atkinson Hyperlegible, (c) Braille Institute of America, SIL Open Font License 1.1; Fredoka, (c) The Fredoka Project Authors, SIL Open Font License 1.1.

Add to Cart