Live exercise: Flatten a list of lists on Coderpad (Python)
Anonymous
Use an algorithm to be invoked recursively when the element's type is list. Otherwise, just append the element to the solution.
Check out your Company Bowl for anonymous work chats.