Modifying member variables


#1

I don't know what to do. I've been stuck on this for hours yesterday. It doesn't work in my editor either. I figured out a much better way to do this, but CodeAcademy doesn't accept it. So, please, can anyone shed light on this?


#2

You have to print this ... my_car.drive_car()
as it gives you string "used" but you have to print it too.


#3

It didn't work :pensive:


#4

Can you post raw code?


#5

There is typo ,Its condition not conditon !
inside your drive_car() class function
self.conditon = "used"


#6

Oh my god......thank you :heart:


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.