Team Management Charge Managing Local Softball Team One Lot Turnover Couple Regulars Much Q43791512
Team Management
You are in charge of managing a local softball team, one inwhich there is a lot of turnover. While you have a couple ofregulars, much of the team members come and go frequently. When itcomes to organizing games, it is becoming more and more difficultto keep track of the current members, so you decide to write asmall program to help you track the current players.
Write a modularized program that will utilize a main menu tocontrol the program’s functions and a list to store the members ofyour team. The following functions that your program needs toinclude:
- Print the current member list.
- Add a new member.
- Remove a member.
- Modify an existing member.
- Exit the program
Remeber that you can create a function using ‘def.’ In otherwords, for adding a new member, you will need a function similarto: def aaddmember.
Note: Since we have not covered File Access, donot worry about long term storage for your list. Each time you runthe program, you will have to create a new list. You are welcome toskip ahead to the File I/O if you would like to tackle thisadditional functionality, but file access is NOT required for thisassignment.
For this project:
- You will submit your python code in either the original .pyfile, or copied into a .txt file.
- A screenshot of your code having been executed (run). How toTake a Screenshot.
Tips: The menu logic will use the same structure as yourprevious programs. A single variables will be used as the controlvalue, and based on what the user entered as the control value,will determine the course of action taken inside of the loop.
Example output:
C:>python week4.py
Welcome to the Team Manager
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 2
Enter new member’s name: Nathan
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 2
Enter new member’s name: Toby
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 1
Nathan
Toby
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 3
Enter member name to be removed: Toby
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 1
Nathan
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 4
Enter the name of the memeber you want to edit: Nathan
Enter the new name of the member: Nathan Braun
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 1
Nathan Braun
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
9. Exit Program.
Selection> 9
Exiting Program…
Expert Answer
Answer to Team Management You are in charge of managing a local softball team, one in which there is a lot of turnover. While you …
OR