Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions Use the following data to create a dictionary of SEC (Southeastern Conference) football teams and mascots and a dictionary of ACC (Atlantic Coast
Instructions Use the following data to create a dictionary of SEC (Southeastern Conference) football teams and mascots and a dictionary of ACC (Atlantic Coast Conference) football teams and mascots. Use the dictionaries to create a python list of conferences. Add the dictionary names (SEC, ACC, etc.) to a python list of conference names. SEC Team Georgia Auburn Mascot Tennessee Mississippi State Florida ACC Team Central Florida Florida State Georgia Tech South Florida Miani Bulldogs Tigers Volunteers Bulldogs Gators Mascot Knights Seminoles Yellow Jackets Bulls Hurricanes Print the list of conferences using a for loop with implicit key iteration Next, create a third dictionary of teams and mascots for a different conference (or even a different sport!) which contains at least three entries. (Use something besides the Big 10 conference!) Add the values in your code, don't prompt the user to enter these values. Add this dictionary to your conference list and add the dictionary name to the list of conference names. Print the third dictionary, using a for loop with implicit key iteration. Prompt the user for a dictionary to search. Prompt the user for a team to find. Use the get() method to retrieve the corresponding mascot, providing a default value if the team is not found. Display the name of the team and the mascot. Prompt the user for the name of a team to delete from the ACC conference. In a print statement, use the pop() method to delete the team from the ACC dictionary. Print the ACC dictionary to show the team and mascot are not in the dictionary anymore. Make sure your output looks like the suggested output! Suggested Output The yellow highlight represents a placeholder for values you add in your code. The red font indicates user input and does not have to match mine. Teams in the SEC dictionary: Georgia's mascot is the Bulldogs Auburn's mascot is the Tigers Tennessee's mascot is the Volunteers Mississippi State's mascot is the Bulldogs Florida's mascot is the Gators Teams in the ACC dictionary: Central Florida's mascot is the Knights Florida State's mascot is the Seminoles Georgia Tech's mascot is the Yellow Jackets South Florida's mascot is the Bulls Miami's mascot is the Hurricanes I added a new dictionary of BIG18 tears and mascots to my list of conferences: Maryland's mascot is the Terrapins Indiana's mascot is the Hoosiers Michigan's mascot is the wolverines Nebraska's mascot is the Cornhuskers Purdue's mascot is the Boilermakers Which dictionary do you want to search? sec What is the name of the tean? teNNessee Tennessee's mascot is the Volunteers Which team in the ACC would you like to remove? MIAMI The Miami Hurricanes have been dropped from the conference. This is the updated ACC dictionary: Central Florida's mascot is the Knights Florida State's mascot is the Seminoles Georgia Tech's mascot is the Yellow Jackets South Florida's mascot is the Bulls
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To complete the instructions given we need to follow these steps in Python 1 Create dictionaries for the SEC and ACC conferences 2 Create a list of co...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