TimesTimes#Starts at 0 index5.times { |i| puts "hello #{i}" } # Output:$ruby main.rbhello 0hello 1hello 2hello 3hello 4CopyTimes without index:5.times { puts "hello" } # Output$ruby main.rbhellohellohellohellohelloCopy