all_seats(chart) that flattens it into a single list, row by row, using a nested comprehension — no itertools, no manual loops.all_seats([['A1', 'A2'], ['B1']])
['A1', 'A2', 'B1']
Rows are concatenated in order.
The for clauses nest left-to-right like normal loops.
[seat for row in chart for seat in row].