manufacturer model year color
def __init__(self, manufacturer, model, year, color): self.__manufacturer = manufacturer
self.__model = model
self.__year = year
self.__color = color
def get_manufacturer(self): return self.__manufacturer
def get_model(self):
return self.__model
def get_year(self):
return self.__year
def get_color(self):
return self.__color
def __str__(self): return self.__manufacturer + " " +self.__model + " " + self.__year + " " + self.__color