Question
assignment is the following: Your program for keeping track of team members is coming along, but now you want to be able to include phone
assignment is the following:
Your program for keeping track of team members is coming along, but now you want to be able to include phone numbers and jersey numbers along with your team members name. Modify your program from week 4 so that the program utilizes object-oriented programming to create a member object which can accept the players name, phone number, and jersey number. You will need to replace the list with a dictionary to help in locating objects for removal and editing. Again, File Access for long-term storage is not required for this assignment. While dictionaries resemble lists, remember that they are not the same! It is better to use FOR loops, not WHILE loops with index values. The code to modify I will list below it needs to remain as a loop until it is requested to quit by an option in the program.
hello, I have searched and tried to figure out what my teacher is trying to show me. I am wanting to add to the code I built in a previous assignment by adding in the members phone number, and jersey number.
my issues are the following: when displaying the members it does them as separate groupings such as name phone jersey
when adding someone it adds it as ("name" , "phone", "jersey) same with removing someone it only removes the name but not the phone number or jersey number this is the same when editing
Code 1: this is my original code I have to build the assignment on. I would like to keep the current list of members and add and remove any new ones
https://dpaste.de/98wh
and this is me attempt at building my code based off the assignment:
https://dpaste.de/uXVH
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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