[Solved] Function called word_dictionary()

30 $

File Name: Function_called_word_dictionary().zip
File Size: 310.86 KB

SKU: [Solved] Function called word_dictionary() Category: Tag:

Or Upload Your Assignment Here:


5/5 – (2 votes)

Create a function called word_dictionary() to keep track of the new words and meanings you are learning. It allows you to enter new words, and a meaning for each word.When you run the program:It prints a greeting message with the name of your program, and prompts user to enter a integer from 1 to 3 for the following options:Option 1: user can see all words and meanings that have been entered so far. If user has not entered any words, print message “There’s no word in the dictionary yet”Option 2: prompt user to enter a new word, then prompt user to enter the meaning.Your program must not allow duplicate entries.Your program should store all entered words and meanings into a dictionary data structureOption 3: allows user to search for a word. If the word exists in the dictionary, then display the meaning; otherwise print message “Word not found”.Program should use loop or recursive function to keep prompt for user input, until user choose to exit. Program should provide option for user to exit, for example, enter 0, or enter “q”

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Function called word_dictionary()
30 $