Help me, i don't understand?


class Car(object):
    condition = "new"
    def __init__(self, model, color, mpg):
        self.model = model
        self.color = color
        self.mpg   = mpg
    def display_car(self): 
       print "This is a %s %s with %s MPG." %(self.color,self.model,str(self.mpg))
    def drive_car(self,condition):
my_car = Car("DeLorean", "silver", 88)
print my_car.condition
print my_car.condition


why does your drive_car method have a condition parameter? we access the member variable through self, so no need for a parameter when declaring the method and no need for a argument at method call either


ok, tks a lot. <3 <3 <3