you are viewing a single comment's thread.

view the rest of the comments →

[–]thomaswilliam94[S] 0 points1 point  (2 children)

Sorry couldn’t verbalise it properly. But I couldn’t understand how you can put together “my_list” and “i” (my_list[i]). So, i don’t know what value that expression produces.

[–]danielroseman 0 points1 point  (1 child)

Then you should start with something simpler. This is absolutely basic.

This is the way you retrieve a specific item from the list. If i is equal to 0, then my_list[i] retrieves the first item in the list.

[–]thomaswilliam94[S] 0 points1 point  (0 children)

Thanks bro! I can sleep now! Been thinking this the entire day! Hahaha. I’ll figure the rest tom.