Tuples and Nested Data

Tuples

Nested Data

Exercise: Write a function that takes as input a list of lists, like x in earlier example, and returns a count of the total number of leaf items (seven in x above).