1 2 3 4 5 6 7 8 9 10
def main arr = [] arr[0] = 1 arr << 2 arr.push 3 arr.each do |i| p "number is: #{i}" end end