Python, wie man prüft, ob ein Wörterbuchschlüssel existiert
if word in data:
return data[word]
else:
return "The word doesn't exist. Please double check it."
Panicky Parrot