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.
3 Respostas
+ 2
nums = [1, 2, 5, 8, 3, 0, 7]
res = list(filter(lambda x: x<5, nums))
print(res)
+ 1
thank you
0
"Fill in the blanks to extract all items that are less than 5 from the list”