Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In python please 6.3 LAB*: Program: Soccer team roster (Dictionaries) This program wil store roster and rating information for a soocer team. Coaches rate players
In python please
6.3 LAB*: Program: Soccer team roster (Dictionaries) This program wil store roster and rating information for a soocer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input fwe pairs of numbers: A player's jersey number (0 - 99) and the player's fating (1 - 9). Store the jersey numbers and the ratings in a dictionary. Outpul the dictionary's elements with the jersey rumbers in ascending arder (i.e., autput the roster from smallest to largest jersey number). Hint: Dictionary keys can be stored in a sorted list. (3 pts) Ex Enter player 1s jersey number: 84 Enter player 1 s rating: 7 Enter player 24s jersey number: 29 Enter player 2= rating: 4 Enter player 3a jersey number: 4 Enter player 3s rating: 5 Enter player 44a jersey number: 30. Enter player 4 rating: 2 Enter player 5a jersey number: 66 Enter player 5s rating: 9 RDSTER Jersey number: 4, Rating: 5 Jersey number: 23, Rating: 4 Jersey number 30 , Rating: 2 (2) Implement a menu of aptions for a user to modify the roster. Each option is represented by a single character. The program initialy cutputs the menu, and outputs the menu after a user chooses an option. The program ends when the user chooses the option to Quit. For this step, the ather options do nothing. (2 pts) Ex MENU a - hdd player d - Renave player u - Dpdate player rating I - Output players above a rating o - Output roster q - Quit Choose an optionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started