Stuck at learnpython.org
<p>I'm actually at the "Classes and objects" part of course and I'm stuck at exercise that is at the end of this part.</p>

<blockquote>
  <p>"We have a class defined for vehicles. Create two new vehicles called
  MyCar1 and MyCar2. Set MyCar1 to be a red convertible worth $60,000
  with a name of Fer, and MyCar2 to be a blue van named Jump worth
  $10,000."</p>
</blockquote>

<p>This is starting code.</p>

<pre><code>#define the Vehicle class
class Vehicle:
    name = ""
    kind = "car"
    color = ""
    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
#your code goes here

#checking code
print MyCar1.description()
print MyCar2.description()
</code></pre>

<p>And I wrote this but I don't know if I'm doing right.</p>

<pre><code>class Vehicle:
    name = ""
    kind = "car"
    color = ""
    value = 100.00 
    def description(self):
        descstr = "%s is a %s %s worth $%.2f." %(self.name, self.color, self.kind, self.value)
        return descstr
MyCar1 = Vehicle()
MyCar2 = Vehicle()
MyCar1.name = "Fer"
MyCar1.kind = "convertible"
MyCar1.color = "red"
MyCar1.value = "$60000"
MyCar2.name = "Jump"
MyCar2.kind = "van"
MyCar2.color = "blue"
MyCar2.value = "$10000"
MyCar1.description()
MyCar2.description()
print MyCar1.description()
print MyCar2.description()
</code></pre>
