CBSE Class 12 Computer Science Question 39 of 68

Data Structures - I : Linear Lists — Question 11

Back to all questions
11
Question

Question 11

What is a nested list ? Give some examples.

Answer

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

For example: a = [11, [2, 23]], b = [[11, 3], [5, 6], [9, 8]]