octass car: anit (self, speed, fuel, weight, brand, color): self.speed - speed def self.fuel - fuel self.weight = weight self.brand brand self.color color HAniCuper car(258, 40. 20Z0, "HÁDACUOSC itan) BH - car(326, 68, 1930, "DHn", "Blue") Hercedes car(380, 50, 2195, "Hercedes-Benz", "Black") print(Hinicuper.speed, Hinicuper. fuol, Hinicuper.neight, Ninicuper.brand, Hinicuper.color) print(BHW. speed, BHW.fuel, BHW.weight, BHW.brand, BHW.color) print(Hercedes.speed, Hercedes.fuel, Hercedes.weight, Mercedes.brand, Hercedes.color)

мик271 мик271    3   14.03.2021 15:44    0

Другие вопросы по теме Математика