Checkpoint 10.4.1.
Now try rearranging these code fragments to make a function that counts all the leaf items in a nested list like nested1 above, the items at the lowest level of nesting (8 of them in nested1).
last_names
.L
. Use nested iteration to save every string containing “b” into a new list named b_strings
.