filter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

filter

ages = [3, 1, 9, 0.4, 7, 12, 2, 1.7, 5.7, 42, 6.7, 14.5, 21] num =int(input()) x=list(filter(lambda y:y>num,ages)) print(len(x))

9th Jan 2022, 12:28 PM
Yasin
Yasin - avatar
6 Answers
+ 6
And your question is❓
9th Jan 2022, 12:40 PM
Simba
Simba - avatar
+ 2
U can write a comment contains this answer in that exercise which has this question
9th Jan 2022, 12:49 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 2
You are welcome 🙂
9th Jan 2022, 12:50 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 1
answer of Practic map and filter
9th Jan 2022, 12:30 PM
Yasin
Yasin - avatar
+ 1
i just want to help Somebody that have problem with this 🙏
9th Jan 2022, 12:42 PM
Yasin
Yasin - avatar
+ 1
ok tnx
9th Jan 2022, 12:50 PM
Yasin
Yasin - avatar