Code Editor
Learn
Loops & Iterators

Loop the Loop with Loop

Great work! We'll give you a bit of a break from the numbers game.

m = 0 loop do m += 1 print m break if m == 10 end

In the example above, we print out 12345678910 since we loop 10 times.

Report a Bug
If you see a bug or any other issue with this page, please report it here.