Question: Hi I need help with this assignment in python 3: Create a language translation dictionary for colors (ie. Spanish-English). Make sure to implement your translation
Hi I need help with this assignment in python 3:
Create a language translation dictionary for colors (ie. Spanish-English). Make sure to implement your translation program using one or more dictionaries.
Your program needs to print out the following:
Let the user know what your program does
Prompt the user for which direction they would like to do the translation (ie: from English to Spanish or from Spanish to English - NOTE: Your program should do both).
Take the user's input and print out the translation. NOTE: that you program needs to ignore the case so REd, red, ReD, rEd, etc... would all yield the same answer.
If the user asks for a color that is not in your translation "dictionary", please print out an appropriate response.
Your program only has to do 1 translation each time it runs (you can add a loop if you wish but the "while" loop, which probably makes the most sense for repeated translations in this program, is the subject of the next lecture).
As always, make sure to follow good programming practices and attach your .py file for grading.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
