Hozz létre egy osztályt, amely egy autót reprezentál.
class Car:
    def __init__(self, brand, color, year):
        self.brand = brand
        self.color = color
        self.year = year

    def drive(self):
        return f"The {self.color} {self.brand} is driving."

    def stop(self):
        return f"The {self.color} {self.brand} has stopped."