0
list=[1,1,2,3,5,8,13] print(list[list[4]]) output=8 can anyone explain this??
double list
2 Answers
+ 4
Udit Jain , would you please so kind and use appropriate tag for programming language? Thanks!
+ 3
list[4] = 5 ;
list[list[4]]= list[5] = 8 ;
array works on index number
list[0] = 1 ;
list[1] = 1 ;
list[2] = 2 ;
.....so on