fruits = ["peaches", "pumpkins", "apples", "oranges"]0.upto(fruits.length - 1) { |loop_index| print fruits[loop_index] + " "}