Ruby - Loops and Iteration
You want to process numbers 1 to 5 in a Ruby loop. For number 3, you want to repeat processing it twice before continuing. Which keyword should you use inside the loop to repeat the current iteration?
redo repeats current iteration without reevaluating condition.redo is appropriate.redo repeats iteration, next skips it [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions