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

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
Get step-by-step solutions from verified subject matter experts
