Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 9 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!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!