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

26th Dec 2020, 9:15 PM
Jose
Jose - avatar
2 Answers
0
Use filter and lambda.
26th Dec 2020, 9:32 PM
rodwynnejones
rodwynnejones - avatar
0
nums = [1, 2, 8, 3, 7] res = list(filter(lambda x: x%2==0, nums)) print(res)
27th Dec 2020, 2:18 AM
Mitta Mukesh Kumar
Mitta Mukesh Kumar - avatar