Question: write in python A certain coding competition stores the following information for each competing team: team name, number of problems solved, and time taken in
write in python A certain coding competition stores the following information for each
competing team: team name, number of problems solved, and time
taken in minutes. This data is stored in a data structure that is originally
empty. Write a program to create the data structure, and do the following
using a menu:
1. Add a new team.
2. Print the team name, number of problems solved, and time taken for
all teams in a nice table format.
3. Print the team name, number of problems solved, and time taken for
only teams that solved more than 3 problems.
4. Print the name of the winning team(s). The winning team(s) is the
team(s) that solved the most problems.
5. Print the average time taken.
6. Exit
Bonus question: If there are more than one team that solved the max
number of problem, then the real winner is the one that finished in the
least time. Assume that the time taken is different for all teams. Modify
option 4 above so that it prints the real winner only.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
