Computer Science, asked by shantanugarg99, 4 months ago

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 jai696
0

\huge\red{\mid{\fbox{\tt{ANSWER}}\mid}}

"r"

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

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"

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions