Description
I coded a program for a team management roster last week. This week I need to convert my list to dictionary and while loop to for loop.
Team Management OOP Style
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 member’s name. Modify your program from week 4 so that the program utilizes object-oriented programming to create a member object which can accept the player’s 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.
For this project:
- You will submit your python code in either the original .py file, or copied into a .txt file.
- A screenshot of your code having been executed (run). How to Take a Screenshot
Tips: While dictionaries resemble lists, remember that they are not the same! It is better to use FOR loops, not WHILE loops with index values.
Your class structure does not need a full set of accessor and mutator methods getName(), setName(newName), however it they will be helpful in the next week.
Unformatted Attachment Preview
Purchase answer to see full attachment
Explanation & Answer
Hi buddy, i have fin...
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Similar Content
Related Tags
The Jade Peony
by Wayson Choy
Hidden Figures
by Margot Lee Shetterly
The Atlantis Gene
by S. A. Beck
The Rhythm Section
by Mark Burnell
The Sixth Extinction An Unnatural History
by Elizabeth Kolbert
Beowulf
by Anonymous Anglo-Saxon poet
The Glass Castle
by Jeannette Walls
Things That Matter
by Charles Krauthammer
Black Beauty
by Anna Sewell