class Car: def __init__(self, ...): def change_speed(self, new_speed): ... my_car = Car(...) my_car.change_speed(20)