[Solved]-Python Program Question Program Store Roster Rating Information Soccer Team Coaches Rate P Q37215890
Python Program Question:
This program will store roster and rating information for asoccer team. The coaches rate players during tryouts to ensure abalanced team.
1. Prompt the user to input five pairs of numbers: a. A player’sjersey number (0 – 99) b. the player’s rating (1 – 9) Note: Storethe jersey numbers and the ratings in a dictionary. Example: Enterplayer 1’s jersey number: 84 Enter player 1’s rating: 7 Enterplayer 2’s jersey number: 23 Enter player 2’s rating: 4
2. Output (display) the dictionary’s elements with the jerseynumbers in ascending order (i.e., output the roster from smallestto largest jersey number) Hint: Dictionary keys can be stored in asorted list. ROSTER: Jersey number: 84, Rating: 7 Jersey number:23, Rating: 4
3. Implement a menu of options for a user to modify the roster.Each option is represented by a single character. The programinitially outputs the menu, and outputs the menu after a userchooses an option. The program ends when the user chooses theoption to Quit. For this step, the other options do nothing.Example: MENU a – Add player d – Remove player u – Update playerrating r – Output players above a rating o – Output roster q – QuitChoose an option:
4. Implement the “Output roster” menu option. Example: ROSTERJersey number: 4, Rating: 5 Jersey number: 23, Rating: 4 Jerseynumber 30, Rating: 2
5. Implement the “Add player” menu option. Prompt the user for anew player’s jersey number and rating. Append the values to the twovectors. Example: Enter a new player’s jersey number: 49 Enter theplayer’s rating: 8
6. Implement the “Delete player” menu option. Prompt the userfor a player’s jersey number. Remove the player from the roster(delete the jersey number and rating). Hint: remove dictionary key.Example: Enter a jersey number: 4
7. Implement the “Update player rating” menu option. Prompt theuser for a player’s jersey number. Prompt again for a new ratingfor the player, and then change that player’s rating. Hint: changevalue of a dictionary key. Example: Enter a jersey number: 23 Entera new rating for player: 6
8. Implement the “Output players above a rating” menu option.Prompt the user for a rating. Print the jersey number and ratingfor all players with ratings above the entered value. Example:Enter a rating: 5 ABOVE 5 Jersey number: 66, Rating: 9 Jerseynumber: 84, Rating: 7 Additional requirements: You must handleuser input errors. Allow the user to re-input. Do not end theapplication. You must comment your code. Please use meaningfulcomments that would assist a code reviewer. Be concise. Test yourcode. Show test results in your printed output
Thanks for any help on this program
Expert Answer
Answer to Python Program Question: This program will store roster and rating information for a soccer team. The coaches rate playe… . . .
OR

