Fantastic! We call a method using the name of the instance it belongs to, a dot, and the method's name.
Psst: the self
parameter points to my_car
because my_car.start_engine()
is short for Car.start_engine(my_car)
.
Doesn't wheels
look a lot more like an attribute than a method?