filter function in python

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

l=[1, 3, 22, 5, 6, 8, 43, 98, -21]
even=[]
for i in l:
if i%2==0:
even.append(i)

print(even)



ila kuda cheyochu kada anna. what is the use of filter here

meltandroast