Python Cómo verificar si existe una clave de diccionario
if word in data:
return data[word]
else:
return "The word doesn't exist. Please double check it."
Panicky Parrot