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

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

You answeredJUST NOW
  • Solution
  • Unit test #1
  • Unit test #2
Python
You passed all unit tests!
Unit test number
1
Expected STDOUT
This apple weighs 75 grams.
Your STDOUT
This apple weighs 75 grams.
Unit test number
2
Expected STDOUT
This strawberry weighs 8 grams.
Your STDOUT
This strawberry weighs 8 grams.

Did you like this question?

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

Was this helpful?

(Voting helps us personalize your learning experience!)
img5.2 Dunder Methods - 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.