This commit is contained in:
wittmannzl103469 committed 2026-11-17 11:23:05 +01:00
1 parent 571cddedba
commit 1934fdfc63
8 files changed
+134 -46

No files matched your search

@@ -2,4 +2,4 @@ words = ["Apfel", "Banane", "Kirsche", "Kiwi", "Melone"] #summe der Wortlänge,
#summe= sum(len(word) for word in words if word.startwith("K"))
#print(summe)
summe = filter(lambda word: str.startswith("K"), words, )
summe = filter(lambda word: str.startswith("K"), words, )