0
Some body know what is the answer?
Hello!. Do some boddy know how to solve this in python ?. https://www.sololearn.com/learning/1073/2497/5345/2
2 Answers
0
Use filter and lambda.
0
nums = [1, 2, 8, 3, 7]
res = list(filter(lambda x: x%2==0, nums))
print(res)