2025-12-09 14:21:35 +01:00

3 lines
130 B
Python

words = ["Apfel", "Banane", "Kirsche", "Kiwi", "Melone"]
pri=sum(len(word) for word in words if word.startswith("K"))
print(pri)