Ruby - Loops and Iteration
Which of these is a correct way to use
times to print "Hello" 3 times in Ruby?times to print "Hello" 3 times in Ruby?times syntaxtimes method is called on an integer with a block: 3.times { ... }.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions