Nested Lists
Learn to use lists of lists in Python.
What is a nested list?
In Python, a nested list is a list that contains other lists as its values or members. The container list is termed an outer list, and the member list is termed an inner list. A list is said to be a nested list if it has another list as one or more of its members, even if all other members of the outer list are not lists.
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Educative's Terms of Service and Privacy Policy