OOP 5: Parent - Child

OOP 5: Parent - Child

5.1. Створи клас ElectricCar, який наслідує клас Car.

5.2. Зміни метод __init__ класу ElectricCar так, щоб він використовував super() для виклику методу __init__ класу Car.

5.3. Додай новий атрибут battery_capacity типу ціле число (int) в метод __init__ класу ElectricCar...

You should be an authorized user in order to see the full description and start solving this mission.