You answeredJUST NOW
You passed all test cases!
Expected STDOUT
John cannot afford their rent.
Your STDOUT
John cannot afford their rent.
STDIN
Annabelle,1000.50,1250.00
Expected STDOUT
Annabelle can afford their rent.
Your STDOUT
Annabelle can afford their rent.
Expected STDOUT
Sarah cannot afford their rent.
Your STDOUT
Sarah cannot afford their rent.
Expected STDOUT
Jason can afford their rent.
Your STDOUT
Jason can afford their rent.
Expected STDOUT
Ricky cannot afford their rent.
Your STDOUT
Ricky cannot afford their rent.
STDIN
Chase,790.00,1100.50
Expected STDOUT
Chase can afford their rent.
Your STDOUT
Chase can afford their rent.
Did you like this question?
(Voting helps us personalize your learning experience!)
Instructor solution
Instructor Alec KretchJAN 2, 2021, 10:29:40 PM
Top Answer (Voting helps us personalize your learning experience!)
Object-Oriented Programming (OOP) in Python presentation (pages 3, 4)
(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
(Voting helps us personalize your learning experience!)
You may exit out of this review and return later without penalty.