Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in python please, The output should look like 6.3 LAB*: Program: Soccer team roster (Dictionaries) This program wil store roster and rating information for a

in python please, The output should look like image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

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 option: Dutput differs. See highlights below. Special ctuacter ivgend 5. Compare output A Dutput differs. See highlights below. Special ctuacter ivgend 5. Compare output A

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions

Question

Under what circumstances might you wish to crash a project?

Answered: 1 week ago

Question

5. Structure your speech to make it easy to listen to

Answered: 1 week ago

Question

1. Describe the goals of informative speaking

Answered: 1 week ago