Learn
Finally, let’s replace our loop
with the .times
iterator.
Instructions
1.
Use the .times
iterator to print
"Ruby!"
to the console 30 times. Hit Run to see the majesty of your code and complete this lesson!
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.