What do you mean by a nested list? Give example.
Answers
Answered by
0
Answer:
A nested list is a list that appears as an element in another list. In this list, the element with index 3 is a nested list. If we print( nested[3] ), we get [10, 20] . To extract an element from the nested list, we can proceed in two steps. First, extract the nested list, then extract the item of interest.
Explanation:
hope it's helpful for you...
Similar questions
Math,
8 days ago
Environmental Sciences,
8 days ago
Math,
17 days ago
Science,
9 months ago
Math,
9 months ago