subject

if the user requests a hint, a message is displayed providing only the location of the 7 wonders, and the program prompts the user again to enter the wonder name this time.4.It willrun through the listto search for the location/wonder nameprovided by the user.5.The list is definedas follows: a. Each itemof the list is a string. b. Location and wonder are separated by a colon (‘:’). c. You need to separate the location and the name of the wonder by (‘:’). Hint:Remember how you split a string?6.If the locationis found it willdisplay the wonder located at thegiven location.7.Similarly, the user could have entered a wonder name, and if the wonder is found, its location is displayed. 8.If the user input is not among the locations/wonders, the programshould display the error message as:" Wrong input, the program ends here ". 9.For this lab, you are expected to use forloop to iterate through each item in thelist. The program needs to be case sensitive. For example: user can enter the name in all lowercase but the program will still find the name of the wonder if present in the list. Hint: string. lower()and string. upper()are two methods that can be used.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen tool
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print
Answers: 3
question
Computers and Technology, 22.06.2019 17:40
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which cultural aspect does this type of song best portray? a german polka dance
Answers: 1
You know the right answer?
if the user requests a hint, a message is displayed providing only the location of the 7 wonders, an...
Questions
Questions on the website: 13722360