Functions that we define within classes are also known as methods.
class Car: wheels = 4 def start_engine(self): print("Vroom!") my_car = Car() my_car.start_engine()