from pet import pet
class cat(pet):
    def __init__(self,name,hates_dogs):
        pet.__init__(self, name, "cat")
        self.hates_dogs=hates_dogs
    def hatedogs(self):
        return self.hates