Reference no: EM131836396
Python Assignment
Find a file called WorldSeries.txt. The format of this file is: Year, WinningTeam, League, Games, LosingTeam and League.
Write a menu-driven program with the following options:
1. List all winning teams from the AL (list team name only once if they won more than 1 time)
2. List all winning teams from the NL (list team name only once if they won more than 1 time)
3. For a specific team, how many times did they win
4. For a specific team, how many times were they in the World Series (win or lose)
5. For a specific year, who won and who lost
6. Quit
Program Requirements:
1. Must use at least one list and/or one dictionary. Multiple lists and/or dictionaries can be used. Whatever you use, it must be used to process the requests 1-5
2. Each choice 1-5 must be in a function
3. The menu must be in a function
Use a search engine (such as Google) to find out the names of all the teams in Major League Baseball.
From this list (you will need to create a file of these names and read this into your program into a list), find all the teams that have been in a World Series but never won and all the teams that have never even been in a World Series. Make this Menu Option 6 and move Quit to Option 7.
Attachment:- worldSeries.rar
What is the molarity of a nitric acid solution
: What is the molarity of a nitric acid solution if 25.00 mL of HNO3 is required to neutralize 0.424g of sodium carbonate (105.99 g/mol)?
|
Determine the strength of bases based on structure
: In organic chemistry, how do you determine the strength of bases based on their structure?
|
Is globalization primarily driven by geopolitical actions
: Question: Is globalization primarily driven by technological advancements or by geopolitical actions
|
Prepare a presentation on given topic
: Please do a presentation about the given topic. The chapter contain 3 main topics and each topic contains small topics.
|
List all winning teams from the al
: Write a menu-driven program with the following options: List all winning teams from the AL. For a specific team, how many times were they in the World Series.
|
Finance charges to credit card company
: Eileen, who is currently paying $624624 per year in finance charges to her credit card company, wants a car that costs $12 comma 00012,000.
|
Freezing point of a solution
: What is the freezing point of a solution containing 15.51 g 3,5-dimethylanisole (C9H12O), a nonelectrolyte, and 257.6 g benzene
|
Analyzes the business and customer needs
: Analyzes the business and customer needs to support advocacy of an IT solution for the global organization - impacts the company may face
|
What is its empirical formula
: If a 0.500 g sample of a compound yields 0.814 g CO2, 0.204 g H2O, 0.0288g N2, and 0.132g SO2 when burned, then what is its empirical formula?
|