You can use this assignment in your class!
Mastery Progress(100.0%)
i

Unit 5: Object-Oriented Programming (OOP) - Review Assignment

Your instructor specifically marked this question as important.
imgEducator’s Choice

You answeredJUST NOW
  • Solution
  • Unit test #1
  • Unit test #2
Python
You passed all unit tests!
Unit test number
1
Expected STDOUT
This is a square with a width of 10 and a height of 10.
This is a rectangle with a width of 10 and a height of 10.
Your STDOUT
This is a square with a width of 10 and a height of 10.
This is a rectangle with a width of 10 and a height of 10.
Unit test number
2
Expected STDOUT
This is a square with a width of 25 and a height of 25.
square
This is a rectangle with a width of 10 and a height of 5.
rectangle
Your STDOUT
This is a square with a width of 25 and a height of 25.
square
This is a rectangle with a width of 10 and a height of 5.
rectangle

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchJUL 9, 2022, 2:22:09 PM
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
img5.3 Inheritance - Lesson

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
  • Short answer field
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.