Ruby - Loops and Iteration
Find the error in this Ruby code:
1.downto(3) { |i| puts i }1.downto(3) { |i| puts i }downto counts down from start to end, so start must be greater or equal to end.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions