Write flatten(matrix) with a single list comprehension.
flatten(matrix)
flatten([[1, 2], [3, 4]]) → [1, 2, 3, 4]
flatten([]) → []
Submit runs 3 tests, including hidden edge cases.
Run your code to see the output here.