Translator

Report a typo

Correct the code below so it would print an English word with its Spanish translation.

Sample Input 1:

Sample Output 1:

mother : madre
father : padre
grandmother : abuela
grandfather : abuelo
Write a program in Python 3
def translate(kwargs):
for word in words:
print(word1, ":", word2)

words = {"mother": "madre", "father": "padre",
"grandmother": "abuela", "grandfather": "abuelo"}

translate(*words)
___

Create a free account to access the full topic