Ruby - Loops and Iteration
What does the Ruby code
loop do; puts "Hello"; break; end do?loop do; puts "Hello"; break; end do?loop do ... end creates an infinite loop that repeats the code inside.break immediately stops the loop after printing "Hello" once.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions