matrix = [[1, 2, 3], [4, 5], [6]]
result = [x for row in matrix for x in row if x % 2 == 0]
print(result)
Post #3162
591
Что выведет код?