Question: Implement a class in Python called Pet. Include methods to set the pet's name, species, and age. Also include methods to get the pet's name,

Implement a class in Python called Pet. Include methods to set the pet's name, species, and age. Also include methods to get the pet's name, species, and age. Next, write Python code that demonstrates your new Pet class. At minimum, your code should create (instantiate) two Pet objects, and call each of the set/get methods for each of the two Pet objects. Be sure to output each of the items (name, species, age) as you call their get methods. examples in the text typically put the class code and the program code in two separate files it's fine if you put all of your class and program code into a single file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
