# from typing import ClassVar


class Vehicle():
    # DEFAULT_FUEL_CONSUMPTION: ClassVar[float] = 1.25
    DEFAULT_FUEL_CONSUMPTION = 1.25

    # fuel_consumption: float
    # fuel: float
    # horse_power: int

    def __init__(self, fuel, horse_power):
        self.fuel = fuel
        self.horse_power = horse_power
        # self.fuel_consumption = self.__class__.DEFAULT_FUEL_CONSUMPTION
        self.fuel_consumption = self.DEFAULT_FUEL_CONSUMPTION

    def drive(self, kilometers):
        fuel_needed = kilometers * self.fuel_consumption
        if fuel_needed <= self.fuel:
            self.fuel -= fuel_needed

# from typing import ClassVar


class Vehicle():
    # DEFAULT_FUEL_CONSUMPTION: ClassVar[float] = 1.25
    DEFAULT_FUEL_CONSUMPTION = 1.25

    # fuel_consumption: float
    # fuel: float
    # horse_power: int

    def __init__(self, fuel, horse_power):
        self.fuel = fuel
        self.horse_power = horse_power
        # self.fuel_consumption = self.__class__.DEFAULT_FUEL_CONSUMPTION
        self.fuel_consumption = self.DEFAULT_FUEL_CONSUMPTION

    def drive(self, kilometers):
        fuel_needed = kilometers * self.fuel_consumption
        if fuel_needed <= self.fuel:
            self.fuel -= fuel_needed

# from typing import ClassVar # DEFAULT_FUEL_CONSUMPTION: ClassVar[float] = 1.25 # fuel_consumption: float # fuel: float # horse_power: int # self.fuel_consumption = self.__class__.DEFAULT_FUEL_CONSUMPTION