cleanup directory
This commit is contained in:
1 parent
9615165024
commit
e9f9d24c96
10 files changed
No files matched your search
@@ -0,0 +1,6 @@
|
||||
from functools import reduce
|
||||
|
||||
words = ["Apfel", "Banane", "Kirsche", "Kiwi", "Melone"]
|
||||
|
||||
result = sum(map(lambda x : len(x) , filter(lambda x : x[0][0] == "K", words)))
|
||||
print(result)
|
||||
Reference in new issue
Block a user