This is my class: class Shoe(object): def __init__(self, color, brand): self.color = color self.brand = brand but i really don't know how to deal with : self.lowOrHighTop self.tongueColor in this sub class: class Converse(Shoe): # Inherits from Shoe Attributes: self.lowOrHighTop, self.tongueColor, self.brand = "Converse" I've done this already but I'm still in wonderland: class Converse(Shoe): # inherits from Mammal def __init__(self): Shoe.__init__(self, color, 'Converse')
I'm still on the learning trend and I believe that I need help. So... One more question. How does one build a rectangle with a height of 40 ? Exercise 4.2 – Drawing A Car
Thanks! I found the answer
Join our real-time social learning platform and learn together with your friends!