Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 3 years ago

Got stuck on the car program (Python 6.189) How do you make the body of the car when you initiate it? class Car(): def __init__(self, center1, radius1, center2, radius2, height): self.wheel1 = Circle(center1, radius1) self.wheel2 = Circle(center2, radius2) self.body = Rectangle(center1 ....... , center2)

  • This Question is Closed

    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