0

What is output of below code??

number = 3 things = ["string", 0, [1, 2,3], 4.56] print(things[1]) print(things[2]) print(things[2][2])

21st Aug 2019, 9:55 AM
Aniruddha Pattewar
Aniruddha Pattewar - avatar
2 Réponses
+ 2
It should be 0 [1, 2,3] 3 as things[2] is a list but not a string.
21st Aug 2019, 10:23 AM
Ketchup🍅
Ketchup🍅 - avatar
+ 2
0 1,2,3 3
21st Aug 2019, 10:08 AM
✳AsterisK✳
✳AsterisK✳ - avatar