Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 11: Mastering List Operations, Iteration, and Comprehensions!
Instruction
List-of-Lists
Lists can be made of any type of element. A list element can also be a list. For example: [2, [3, 5], 17]
is a valid list with the list [3, 5]
being the element at index 1.
When a list is an element inside a larger list, it is called a nested list. Nested lists are useful for expressing multidimensional data. When each of the elements of a larger list is a smaller list, the larger list i...