Help saving range of numbers as a variable


#1



https://www.codecademy.com/en/courses/ruby-beginner-en-XYcN1/2/3?curriculum_id=5059f8619189a5000201fbcb


I'm not sure what is wrong with this but the error message is it looks like my_array is not equal to [1,2,3,4,5].
Maye I'm jusst not getting the program. all help appreciated,


my_array = "[1,2,3,4,5]."


#2

HI remove the " " around [1,2,3,4,5]...Because it makes it a string .....and remove the dot


#3

Wow! This program certainly makes one feel like a child. Thank you so much.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.