I didn't see this covered in the lesson and I can't move forward til I understand
What is the output of this code? list = [1, 1, 2, 3, 5, 8, 13] print(list[list]) Please explain to me what this is asking, how the answer is 8, and please give an alternative example. I do not want to go forward until I understand.
The inner part list  = 5 then list =8 You should first find the value of the most inner part
list[list]= list=8 The value at 4th index is 5 and the value at 5th index is 8 list[list]=list=1 can you understand?
it always follows order of operations :)
It's like var=list  a=5 list [a] Print (List) 8
OMG. I didn't comprehend that at all. It's like an order of operations. Get the inner index first then get the index of the outer. THANKS SO MUCH!