Aufgaben aus dem Praktikum 4
This commit is contained in:
commit
d0300ed30f
9 files changed
+287
No files matched your search
@@ -0,0 +1,4 @@
|
||||
words = ["Apfel", "Banane", "Kirsche", "Kiwi", "Melone"]
|
||||
r = sum(map(lambda word: len(word), filter(lambda word: word.startswith("K"),words)))
|
||||
|
||||
print(r)
|
||||
Reference in new issue
Block a user