Welcome to Westonci.ca, your one-stop destination for finding answers to all your questions. Join our expert community now! Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

Choose the missing parts of the program to have the following output.

pet:
def __init__(
,strSpecies,strName):
self.species = strSpecies
self.petName = strName


def __str__(self):
return self.species + " named " + self.petName

# main program
myPetA = pet('dog', 'Spot')
myPetB = pet('cat', 'Fluffy')