I dont know how to do it can i have help


Hi in the instructions they say..
Use the loop iterator to print out the string "Ruby!" 30 times

First we should declare a variable ans set it equal to 0

num =  0
And Then make  for loop

num = 0
loop do
    num = num  + 1
    Print "Ruby!"
    break if num == 30



30.times { print "Ruby!" }


How do I give U a thumbs down?

Your answer is not at all the answer to the question at hand.

"Use the loop iterator" Where is loop in your answer?