Computers and Technology

Your code should include:

4 functions - menu(), random_word(), remove_word(), print_list()

menu() - prints the menu choices the user can perform
random_word() - selects a random word from the list, prints the random word.
remove_word(word) - removes the word that the user wants to remove from the list.
print_list() - prints the list
Add a new function to the program:

add_word(word) - adds a word the user wants to add to the list.
Your code should continuously ask the user for a command to perform from the menu until the user is finished using your randomizer.

Your code should make sure the user can only type valid commands from the menu.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:00, toottoot42169
What can you find the under the privacy policy section of a shopping website?
Answers: 1
image
Computers and Technology, 22.06.2019 11:00, simbupls
Technician a says that the radiator usually cools better if the front air dam is removed. technician b says that when a condenser has a leak it can be repaired easily with epoxy. who is correct?
Answers: 1
image
Computers and Technology, 22.06.2019 18:30, dpinzoner5952
Which of the following commands is more recommended while creating a bot?
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, Nason156
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
Do you know the correct answer?
Your code should include:

4 functions - menu(), random_word(), remove_word(), print_list...

Questions in other subjects: