Quotes help make search much faster. Example: "Practice Makes Perfect"

Monday, December 3, 2012

Codecademy: Class member variables


#sample solution


class Car(object):
#member variable
condition = "new"

#check
myCar = Car()
print myCar.condition

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts