subject
Computers and Technology, 20.08.2020 01:01 mrus

Phase 1 RequirementsCode submitted for Phase 1 will only have the following capability. Any additional coding will result in the loss of point. code will have the main function, including looping until the user enters input of 12code will call the printMenu() functiontheprintMenu() function will have the capability to print the menu and receive input. AT THIS TIME do not worry about implementing the try/except codecode will return the integer value (remember - the input() function returns a string) entered by the user to the main function. code will have a simple print statement outputting the statement "The user input the value ??" - where the ?? will be replaced by the value the user entered. Select from the following options: 1) Category 2) Item 3) Serving Size 4) Calories 5) Calories from Fat 6) Total Fat 7) CholePhase 2 Requirementscode will meet all requirements from Phase 1code in the printMenu() function will be added to include a try/except to catch errors if the user enters a non-numeric value in response to the menu prompt. code will have the main function calling the processInput() function that accepts a single argumentthe argument to the function will be the value returned from the printMenu() functionuse a different variable name in your main code and in your functioncreate a list named headings[]the headings list should contain all the Headings from the menu except 'Quit'...so you have all 11 elements in the list from your menu. using the value that is passed into the processInput() function print not only the numerical value of that argument - but also print the proper item from the headings[] list. Phase 3 Requirementscode will meet all requirements from Phase 2code to read the input file will be added to the main functionthe processInput() function will sort the data read from the filethe processInput() function will print out the top 5 items based on the input valueI need help with these 3 phases. If possible separate them. If I wanted to use only phase 1 in my python program, it will work. If I wanted to use both phase 1 and 2 it'll still work. I need to turn in phase 1 first then a few days, phase 2 with the new code and phase 1 code and then finally phase 3 with the all phases combined.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
Chloe is building a kiosk-based excel application. she wants to make some modifications to the screen elements in order to keep users from being distracted by parts of the application that are irrelevant to her application. she turns to henry for guidance as she knows he built a similar solution earlier this year.chloe has decided to hide the worksheet gridlines and the vertical scroll bar. what does henry tell her to use to do this? a) screen elements dialog boxb) display options dialog boxc) customization dialog boxd) excel options dialog box
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
You know the right answer?
Phase 1 RequirementsCode submitted for Phase 1 will only have the following capability. Any addition...
Questions
question
History, 26.05.2021 19:00
question
World Languages, 26.05.2021 19:00
question
Mathematics, 26.05.2021 19:00