Question: Please do this with python code Differently, in this assignment, you need to create the FootballTeam and BasketballTeam classes that derive from the Team class.

Please do this with python code

 Please do this with python code Differently, in this assignment, you

Differently, in this assignment, you need to create the FootballTeam and BasketballTeam classes that derive from the Team class. As in the Shapes application, the user should be able to add a new team, display details of a selected team, and list all teams by their id and name. The properties and the methods of all classes that you need to create are given below. Team class attributes: league instance attributes: id, name, wins, defeats, scoresAchieved, scoresConceded, average (which is equal to scoresAchieved - scoresConceded). Football Team instance attributes: draws functions: calculateMatchsPlayed0 \#should return wins + defeats + draws calculatePoints 0 \#should return wins * 3 + draws Basketball Team instance attributes: totalFauls, totalRebounds functions: calculateMatchsPlayed0 \#should return wins + defeats calculatePoints 0 \#should return wins * 2+ defeats

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!