Lesson 4 Calling class variables Pl Help


#1

Below is my code.

class Car(object):
condition = "new"

print my_car()


#2

What error are you getting?


#3

You have not created the my_car() method yet.


#4

Pl write the correct code.


#5

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


#6

Awaiting your reply.Pl help.
Thanks