Exercise 1•Python
Question
Question
Demonstrate polymorphism by creating a function `make_sound(animal)` that calls the `sound` method of any animal passed. Define a base class `Animal` with `sound` method, and subclasses `Dog` and `Cat` that override it.
