promptdojo_

while, break, and the infinite loop AI ships — step 4 of 9

This loop adds 1, 2, 3, ... to total and stops as soon as total exceeds 10. What does it print?

read, then continue.