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
Charlotte,1500
Expected STDOUT
This is a cat named Charlotte that eats cat chow, drinks water, and costs $1500.00
Your STDOUT
This is a cat named Charlotte that eats cat chow, drinks water, and costs $1500.00
STDIN
Fred,
Expected STDOUT
This is a cat named Fred that eats cat chow, drinks water, and costs $250.00
Your STDOUT
This is a cat named Fred that eats cat chow, drinks water, and costs $250.00
STDIN
Coco,800
Expected STDOUT
This is a cat named Coco that eats cat chow, drinks water, and costs $800.00
Your STDOUT
This is a cat named Coco that eats cat chow, drinks water, and costs $800.00
STDIN
Fluffy,
Expected STDOUT
This is a cat named Fluffy that eats cat chow, drinks water, and costs $250.00
Your STDOUT
This is a cat named Fluffy that eats cat chow, drinks water, and costs $250.00

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchJAN 2, 2021, 10:57:43 PM
Python

Was this helpful?

(Voting helps us personalize your learning experience!)
imgObject-Oriented Programming (OOP) in Python presentation (pages 5-7)

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.