0

Fill in the blank:-

Answer:- [2, 8] nums = [1, 2, 8, 3, 7] res = list(******(lambda x: x%2 == 0, nums)) print (res)

31st Mar 2020, 11:23 AM
Mohit Namdev
Mohit Namdev - avatar
1 Antwort
+ 1
nums = [1, 2, 8, 3, 7] res = list(filter(lambda x: x%2 == 0, nums)) print (res)
31st Mar 2020, 11:29 AM
John Robotane
John Robotane - avatar