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

Object-Oriented Programming (OOP) in Python Assignment

You answeredJUST NOW
Python
You passed all test cases!
STDIN
4
Expected STDOUT
7
Your STDOUT
7
STDIN
15
Expected STDOUT
47
Your STDOUT
47
STDIN
3
Expected STDOUT
5
Your STDOUT
5
STDIN
200
Expected STDOUT
1223
Your STDOUT
1223
STDIN
1
Expected STDOUT
2
Your STDOUT
2
STDIN
2
Expected STDOUT
3
Your STDOUT
3
STDIN
12
Expected STDOUT
37
Your STDOUT
37

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Instructor Alec KretchJAN. 2, 2021 AT 2:30 PMstarTop Answer
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
imgObject-Oriented Programming (OOP) in Python presentation (pages 14, 15)

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
  • A.
  • B.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

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