Tuples and Nested Data¶
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).
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).