PythiloEasy · 12 min · Task 29 of 100 · progress kept in this browser

Flatten one level

Return a new list containing the items of each inner list in order. Flatten exactly one level.

rows = [[1, 2], [], [3]]
for row in rows:
    print(row)
Your task

Return a new list containing the items of each inner list in order. Flatten exactly one level.