Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can anyone help me with this, please? and would you also please attach the screenshot of idle as well? Thank you. If no date is

image text in transcribedimage text in transcribedimage text in transcribed

Can anyone help me with this, please? and would you also please attach the screenshot of idle as well? Thank you.

If no date is entered display the menu options Dasaball Team Manager 2021-09-12 CURRENT DATE: GUCE DATE: MENUJ OPTIONS 1 - Diwplay lineup 2 - Add player 3 - Remove player 4 - Move player - Edit player poaition 6 - Edit player state 7 - Exit program POSITIONS c, in, 20, sa, ss, LT, Cr, RT, P Menu option: If a date is entered display the number of days till the game and then the menu option. Do not display the number of games if the date entered is in the past. Danball Ten Manager CURRENT DATE: 2021-07-12 GAME DATE: 2021-07-19 DAYS UNTIL GAME: 7 MENU OPTIONS 1 - Display lineup 2 - Add player 3 - Remove player 4 - Move player 5- die player position 6 - Edit playas atate 7 - Exit program POSITIONS C, 10, 20, 3, 3, LT, CF, BT, DOG AD AVG 10 545 5 Menu option: 1 Player 1 Dominick Gilbert 2 Craig Mitchell 3 Jack Quinn Simon Harris 9 Darryl Moen Gandy Guanan 7 Wallace Crus # Cadeis Coopas 9 Alberto Gomes 174 127 176 174 125 122 535 485 532 477 475 215 103 0.319 0.236 0.329 0.359 0.235 0.256 30 SS 20 50 0.270 0.204 Menu option: Notes: The function that reads the CSV file can use the csv module and should loop through one row of the file at a time. For each row populate the dictionary for a player based on the 4 columns of data in the file and add that dictionary object to the list of players. The function will return the list of dictionary objects. The function that writes to the CSV file should not use the csv module writscon method since this method does not work with a dictionary. Treat the CSV file as a text file when opening the CSV file. Using a loop for the players list, call the file write method to write the name, position, at bats, and hits values separated by commas. Make sure to include a new line escape sequence after the hits value. players Dominick Gilbert 1B 537 170 Craig Mitchell CF 396 125 Jack Quinn RF 345 99 Simon Harris 450 135 Darryl Moss 3B 501 120 Grady Guzman SS 463 114 Wallace Cruz LF 443 131 Cedric Cooper 2B 165 54 Alberto Gomez 72 19

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

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago