Your question is Flatten a Nested List. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
How would you implement a function to flatten a nested list?
Implement def flatten_nested_list(nested):, where nested contains integers and lists nested to arbitrary depth. Return a single list containing all integers in their original left-to-right order, including repeated values and ignoring empty lists.
def flatten_nested_list(nested):