.times loop won't work


I'm on loops and iterators exercise 18: iterating with .times.

Here's my AWESOME code:

30.times {print "Ruby"}

What is wrong here?


You forgot the exclamation mark.



Thank you for your input. Go here.


Why, Ultron2! What a good idea!


Yeah, Ultron2. Good thinking on the link.


Thank you for :smiley: helping.