getter method called "get_name" that returns the value of the "name"

Add a getter method called "get_name" that returns the value of the "name" attribute, and a mutator method called "set_breed" that takes a parameter "breed" and sets it as the value of the "breed" attribute. Use the "get_name" method to get the value of the "name" attribute, and call the "set_breed" method with the argument "Retriever" to update the "breed" attribute of the "animal" object. Finally, print the updated "breed" attribute of the "animal" object.

Note: Give the input in the code itself

Expected output:
Hello, I am a Dog, and I am a Labrador
Name: Dog
Updated Breed: Retriever
Total : 0 Discussion
Login