Auto Generated Documentation

This is documentation for Pet class.

class pet.Pet(name, owner)

This class will represent a class for pet

add_pet(name)

adds a pet to the pet list :type name: string :param name: pet name to add to the list

static get_average_age(pet_type)

prints out the average age of a pet :type pet_type: string :param pet_type: 3 most popular pets

classmethod random_pets(owner)

special method was created after to address owners that did not want to pick a pet name. :type cls: Pets :param cls: an instance of the class passed to __init__ :type owner: string :param owner: the owner of this pet

show_pets()

prints out all the pets in the list