I have an assignment for
Programming Fundamentals (we are using Python 3.4), and some questions are sometimes not really obvious to understand, maybe because my English is not so good.
Two of the introductory questions of our last assignment were:
- Write a function that “flattens” its input list.
- Write a function that accepts a list that contains nested lists and returns the “depth” of the list.
Sincerely I am not understanding exactly what they are asking. Can someone explain me?