R3
Size: a a a
R3
R3
R3
R3
𝕬
AT
res = [x for row in arr for x in row if x > 0]
AT
БГ
py3
code = '[num for num in nums for nums in matrix if num>0]'
print(len(code))
49
БГ
res = [x for row in arr for x in row if x > 0]
AT
𝕬
БГ
py3
code = '[num for num in nums for nums in matrix if num>0]'
print(len(code))
49
AT
new_array = [element for row in array for element in row if x > 0]
R3
AT
new_array = [
element
for row in array
for element in row
if element > 0
]
𝕬
𝕬
БГ
new_array = [element for row in array for element in row if x > 0]
AT
AT