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