Question: PYTHON Create a Team class. 1. Have the Team class have attributes for 1) team name (string) 2) current wins (int) 3) current losses (int)
PYTHON
Create a Team class.
1. Have the Team class have attributes for
1) team name (string)
2) current wins (int)
3) current losses (int)
4) players (list of Player objects)
2. Have the Team class have methods to
1) get the number of players
2) list all players
3) get winning percentage
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
