Code: demo_array = [100, 200, 300, 400, 500] print demo_array  Displays: 300 After Save and Submit Code Error Message: Oops, try again. Make sure to use square bracket notation to print out the third element of demo_array. As far as I can see I am getting the result I am expecting but I can not move on. Any pointers?
After some trial and error I changed the code to
demo_array = [100, 200, 300, 400, 500]
And got the result 300nil
And the go ahead to move on!
Still don't know why I am getting the nil bit though...
Time to move on.....
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.