Lesson 4 Calling class variables Pl Help


Below is my code.

class Car(object):
condition = "new"

print my_car()


What error are you getting?


You have not created the my_car() method yet.


Pl write the correct code.


The error is " you need to print the value of new car. condition.


Awaiting your reply.Pl help.