Q. What is the output of '5.times { |i| puts i }'? (A) 0 1 2 3 4 (B) 1 2 3 4 5 (C) 5 4 3 2 1 (D) Error ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) 0 1 2 3 4 Explanation: 'times' iterates from 0 up to one less than the number.