Here’s the link for my exercise -https://www.codecademy.com/courses/learn-python/lessons/classes/exercises/creating-class-methods?action=resume_content_item.
Here is my code:
condition = “new”
def init(self, model, color, mpg):
self.model = model
self.color = color
self.mpg = mpg
print “This is a %s %s with %dMPG.” %(self.model,self.color,self.mpg)
my_car = Car(“DeLorean”, “silver”, 88)
Here’s is the output:
This is a DeLorean silver with 88
My question is why
None apppearing on the console window?
Any answer will be appreciated