New course! Every coder should learn Generative AI!
Try a free lesson+ 1
How???
What is the output of this code? list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]]) Its answer is : 8 didn't understand!!
3 Answers
+ 4
list[4]=5
so, list[list[4]]=list[5]=8
0
got it!👍 thanks