Complete the code to define a class named Car.
class [1]: pass
The class name should be Car with a capital C to follow Python naming conventions.
Complete the code to create an object my_car from the Car class.
my_car = [1]()To create an object, call the class name Car followed by parentheses.
Fix the error in the method definition to correctly define the constructor.
class Car: def [1](self, make): self.make = make
The constructor method in Python is named __init__ with double underscores before and after.
Fill both blanks to define a method display_make that prints the car's make.
class Car: def __init__(self, make): self.make = make def [1](self): print(self.[2])
The method name should be display_make and it should print the make attribute.
Fill all three blanks to create a subclass ElectricCar that inherits from Car and adds a battery_size attribute.
class [1]([2]): def __init__(self, make, battery_size): super().[3](make) self.battery_size = battery_size
The subclass is named ElectricCar, inherits from Car, and calls the parent's constructor using super().__init__(make).