0
what is the output of this: list [1,1,2,3,5,7,8,9] print (list [list [4]])
3 Respostas
+ 4
It's easy but but tricky .... first of all it will access the element at Index 4 of the list. Inner list will be solved first
print (list [list [4]])
As you know list start with Index 0 so in the list 4th index value is 5
print(list [5])
now this will print element of index 5 which is 7
Answer is 7
0
ans is 7
0
Ans is 7