+ 2
What option is better?
l1 = list(range(10)) or l1 = [n for n in range (10)] a = lambda x: x%2!=0 print(list(filter(a, b)))
2 Respostas
+ 2
first one
+ 1
thanks Mima_nf
l1 = list(range(10)) or l1 = [n for n in range (10)] a = lambda x: x%2!=0 print(list(filter(a, b)))