
Question: Create an English to Portuguese translationprogram.
The programtakes a word from theuser as inputand translates itusing the following dictionary as a vocabularysource.
d = dict(weather = "clima", earth = "terra", rain = "chuva")
Expected output:
Enter word: earth terra

Hint: It's good to create a function that takes the user input and uses it as a key to access the corresponding dictionary value.