Loops & Iterators "The 'Until' Loop"


#1

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.

Thanks


#2

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

The counter += 1 comes after puts counters


#3

Oh wow okay, thank you much.


#4

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