Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

pypeye

  • 3 years ago

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')

  • This Question is Open
  1. pypeye
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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

  2. pypeye
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Thanks! I found the answer

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy