You answeredJUST NOW
Python
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
Instructor solution
Object-Oriented Programming (OOP) in Python presentation (pages 5-7)
By Alec Kretch (Apr 2, 2021)
You may exit out of this review and return later without penalty.