A community for students.
Here's the question you clicked on:
 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')
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

pypeye
 3 years ago
Best ResponseYou've already chosen the best response.0I'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

pypeye
 3 years ago
Best ResponseYou've already chosen the best response.0Thanks! I found the answer
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.