keeps asking me did I declare a variable and I think I did but I'm not entirely sure if I remember how to, can someone give me an example of how to declare the variable for this lesson please?
Create a variable called
my_arrayand set it equal to the numbers 1 through 5, inclusive, in order.
This is an array of numbers in order:
[1, 2, 3, 4, 5]
This is how we declare and set a variable...
myVar = "some value or expression"
Now try piecing it together to answer the question in the exercise.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.