MediumScenarioCore Python
How would you flatten a nested list of arbitrary depth?
This answer is part of Pro
14 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow do you read a very large file in Python?Next How do you safely parse JSON that may be malformed?