Write a mini english-to-spanish word dictionary that uses a


Question :

In python, write a mini English-to-Spanish word dictionary that uses a Python dictionary to perform a word lookup based on the contents of an input file called dictionary.txt.

The input file contains a list of English words and their Spanish equivalent, one entry per line (i.e. An entry is an English word followed by its Spanish equivalent).

The program constructs a dictionary by reading the content of the file, and then prompts the user to input an English word.

If the word is in the dictionary, the program outputs the Spanish translation. Otherwise, it should output "Word not found."

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a mini english-to-spanish word dictionary that uses a
Reference No:- TGS02908401

Expected delivery within 24 Hours