What is a nested list?
Answer:
When a list appears as an element of another list , it is called a nested list .
Example:
list1 = [1,2,'a','c',[6,7,8],4,9]
Very Short Answer Type Questions (1 Mark each)
Very Short Answer Type Questions (1 Mark each)
Last updated at Dec. 13, 2024 by Teachoo
Answer:
When a list appears as an element of another list , it is called a nested list .
Example:
list1 = [1,2,'a','c',[6,7,8],4,9]