class Car(): def __init__(self,makee,modell,yearr): self.make = makee self.model = modell self.year = yearr def get_descriptive_name(self): long_name = str(self.year) + " " + self.model + " " + self.make return long_name my_car = Car('fengtian','yueye','1928') my_car.get_descriptive_name() print("make:" + my_car.make ) print("model:" + my_car.model) print("year:" + my_car.year) r@r:~/coml/python/9/922/pro1$ python3 car.py File "car.py", line 3 self.make = makee ^ TabError: inconsistent use of tabs and spaces in indentation r@r:~/coml/python/9/922/pro1$ python3 car.py File "car.py", line 3 self.make = makee ^
出错原因: