+ 1
i dont understund this code
list = [1, 1, 2, 3, 5, 8, 13] print(list[list[4]])
4 Respostas
+ 14
list[4] will be 5
So, list[list[4]] = list[5]
And list[5] = 8
So,
print(list[list[4]]) = 8
+ 6
list[4]=5
list[5]=8
So
list[list[4]]=8
+ 3
Yes VEDANG bro
+ 2
It is inner indexing, which returns a value for outer indexing.