Help! 17.Loop the loop with loop


not sure what is wrong with my code?

x = 0
loop do
x += 1
puts "Ruby!"
break if x == 31

any ideas?


You are using "puts". It asked that you use "print"

i = 0
loop do
i += 1
print "Ruby!"
break if i == 30


Oops, try again.
It looks like you didn't print out the string 'Ruby!' 30 times.


I didnt notice the syntax "!" error in my code. To call for Ruby. Thanks

Reminds me of Java.