L=["these ","are", "a",["few", "words"],["that", "we", "will", "use"] .What will be the output of the statement: L[3:4][0][1][2]
Answers
Answered by
0
"r"
L[3:4] accesses the item at index 3 which is [['few', 'words']]
[['few', 'words']][0] accesses the item at index 0 which is ['few', 'words']
['few', 'words'][1] accesses the item at index 1 which is "words"
"words"[2] accesses the item at index 2 which is "r"
Similar questions
English,
2 months ago
English,
2 months ago
India Languages,
9 months ago
India Languages,
9 months ago
India Languages,
9 months ago