Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 15 Online
OpenStudy (anonymous):

Create a set of classes as shown in the diagram. Create a different object for the different shapes and display the area of each shape. ............[ Shape ]........... ..................|...................… ________________________ |.................... |....................| [circle ]......[Rectangle].......[Square] [pi*r*r ]......[I*b ]................[ a*a ]

OpenStudy (anonymous):

class Shape: def __init__(self, met_1,met_2,...): self.met_1=met_1 and so on and so forth. then inherit.

OpenStudy (anonymous):

Is this trying to solve the car problem? HW 4 in 6.189?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!