Iterating with .times - help needed


I have written the code correctly, but it states that I did not string ruby 30 times.
Although it shows the string done 30 times in editor.
please could someone assist?
is there another way of doing it.

30.times {print "ruby!"}


In the string you are using

fullwidth exclamation mark (U+FF01)

but you have to use

exclamation mark (U+0021)



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