''' DS2000 Spring 2020 Source code from lecture - a Car class All cars have the same four attributes: - make - model - year - price We initialize all of these attributes in the constructor. The caller, when creating an object, specifies the value of make and model, but we set the year and price to reasonable default values within the constructor. ''' class Car: def __init__(self, make, model): self.make = make self.model = model self.year = 1991 self.price = 82000.0 def add_feature(self, item): if item == 'heated seats': self.price += 200 elif item == 'power steering': self.price += 350