10. Saving Multiple Values


#1

What's the answer for this exercise. Need some help please


#2

Please provide your code.


#3

This is my code, I'm stuck here.

my_array = [1, 2, 3, 4, 5]
puts my_array
end


#4

It works for you remove end.

Type: my_array = [1, 2, 3, 4, 5]
puts my_array


#5

This also works :blush:

my_array = i
i = [1, 2, 3, 4, 5]