Nums = [1,2,8,3,0,7] res=list (filter(lambda x: x_5 nums)) print (res) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Nums = [1,2,8,3,0,7] res=list (filter(lambda x: x_5 nums)) print (res)

This question is hard can I have some hints please? Thanks.

9th Dec 2018, 10:09 PM
Max
3 Answers
+ 2
nums = [1, 2, 5, 8, 3, 0, 7] res = list(filter(lambda x: x<5, nums)) print(res)
30th Sep 2020, 3:22 PM
Nihed Attia
Nihed Attia - avatar
+ 1
thank you
14th Dec 2018, 10:17 AM
Max
0
"Fill in the blanks to extract all items that are less than 5 from the list”
9th Dec 2018, 10:15 PM
Diego
Diego - avatar