<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
I need to print the car condition - should get "new"
than execute drive_car
and print the condition again - should get "used"
the instruction is to print the car condition. - how can I print the condition "new"
when I call print my_car.drive_car() I get “used”
<What do you expect to happen instead?>
when I print condition I should get "new"
print condition again I should get “used”
#condition = "new"
def init(self, model, color, mpg):
self.model = model
self.color = color
self.mpg = mpg
mpg = str(mpg)
return “This is a %s %s with %s MPG.” % (self.color, self.model, self.mpg)
self.condition = "used"
my_car = Car(“DeLorean”, “silver”, 88)
<do not remove the three backticks above>