Question: Problem 4 : Zoo Management Points Possible: 4 0 This problem will allow you to demonstrate your understanding of Python classes and objects, inheritance, and

Problem 4: Zoo Management
Points Possible: 40
This problem will allow you to demonstrate your understanding of Python classes and objects, inheritance, and polymorphism by creating a simple Zoo Management System. You will add the functionality of a menu and the ability to accept user input when adding, creating, and listing animals in the Zoo.
Instructions:
The zoo will have several animals, and each animal will have a name, age, and species. Moreover, each animal will have a method make_sound(), which should return a string representing the sound it makes. Perform the following steps:
Create a Zoo class. This class should be able to store multiple animals. It should have methods to add_animal and remove_animal. Also, add a method get_animals that prints a list of all animals currently in the zoo, including their name, age, and species.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!