Coding task · Python course · Module 3: Object-Oriented Programming

__str__ Method

Implement __str__

Task

Add a __str__ method to the Animal class that returns 'Animal: {name}'