0
Fill in the blank:-
Answer:- [2, 8] nums = [1, 2, 8, 3, 7] res = list(******(lambda x: x%2 == 0, nums)) print (res)
1 Resposta
+ 1
nums = [1, 2, 8, 3, 7]
res = list(filter(lambda x: x%2 == 0, nums))
print (res)
Answer:- [2, 8] nums = [1, 2, 8, 3, 7] res = list(******(lambda x: x%2 == 0, nums)) print (res)