-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
In the human.py file, create a new Vet class to simulate a veterinarian.
- Add the class to
human.pywith the following parameters:clinic_namewhich takes a string and defaults to None andpatientswhich takes a list of Cats and defaults to None. Make sure that if patients is a list then the list contains Cats - Write a function called
checkupthat takes a Cat as a parameter and increase cat health by 1 and decreases its mode by 1 - Write docstrings
- Write tests for the class and functions.
Metadata
Metadata
Assignees
Labels
No labels