__str__ me thod implemetation Class

By using task 2 implement a "str" method that returns a string representation of the animal object with a greeting message. Then create an instance of the "Animal" class named "animal" with the arguments "Dog" and "Labrador", and print the "animal" object to display the greeting message.

Note: Give the input in the code itself

Expected output:
Hello I am a Dog, and I am a Labrador
Total : 0 Discussion
Login