Q. What is a nested list? Give some examples.


Answer =

A list that has one or more lists as its elements is a nested list.

Example

• 2D list
• l = [5,[1,2,3,4],[12,34]]

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post