len()
map()
reduce()
filter()
Discuss About this Question.
numbers = [1, 2, 3, 4, 5] result = list(filter(lambda x: x % 2 == 0, numbers)) print(result)
[2, 4]
[1, 3, 5]
[1, 2, 3, 4, 5]
[1, 4]
lambda x: x.split()[0]
split()
functools.partial()
To install on iPhone/iPad: tap Share → Add to Home Screen.
Discuss About this Question.