Iterating with .times - help needed


#1



https://www.codecademy.com/en/courses/ruby-beginner-en-XYcN1/3/5?curriculum_id=5059f8619189a5000201fbcb


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!"}


#2

In the string you are using

fullwidth exclamation mark (U+FF01)

but you have to use

exclamation mark (U+0021)

!


#3

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