Loops & Iterators "The 'Until' Loop"


Please help me figure out what i did wrong.

Link to picture of code (https://gyazo.com/f7055a4193e9cc0e09be487e6b3aaa21)

It says there's an error and that I'm not doing it correctly.



counter = 1
until counter == 10
puts counter
# Add code to update 'counter' here!
counter += 1
puts 10

The counter += 1 comes after puts counters


Oh wow okay, thank you much.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.