#Working with classes
class MyClass:
    variable = "to print"

    def function(self):
        print("This is a message inside the class.")
myobjectx = MyClass()
myobjectx.function()
myobjecty = MyClass()

myobjecty.variable = "yakcity"

#Then print both values
print(myobjectx.variable)
print(myobjecty.variable)

class Auto:
    name = "Model"
    color = "Paint"
    kind = "car"
    value = 100.00
    def description(self):
        desc_str="%s is a %s %s worth $%.2f" % (self.name,self.color,self.kind,self.value)
        return desc_str
car1 = Auto()
car1.name=("Fer")
car1.color=("red")
car1.kind=("convertible")
car1.value=(60000.00)

car2 = Auto()
car2.name=("Jump")
car2.color=("blue")
car2.kind=("van")
car2.value=(10000.00)

print(car1.description())
print(car2.description())
