Skip to content

Create a function where an owner can take a specific cat to the vet #19

@nickmckay

Description

@nickmckay

Write a function called vet_visit(Cat) to take the cat specified by the "Cat" parameter to the vet. When the cat visits the vet eats its mood parameter decreases by 1 and its health parameter increases by 1.

  • Write the vet_visit() function in the Owner class in human.py.
  • Edit the docstrings for this function, including usage a example.
  • Create a test for the new function.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions