from pet import Pet


class CuddlyPet(Pet):

    def __init__(self, name):
        super().__init__(name)
        self.hunger += 2

    def cuddle(self, other_pet):
        other_pet.get_love()

    def be_alive(self):
        self.fullness -= self.hunger
        self.happiness -= self.mopiness / 2
        for toy in self.toys:
            self.happiness += toy.use()

a57569c7a3cc12f2facef21fc49200d358cf9c22
<mask token>


class CuddlyPet(Pet):

    def __init__(self, name):
        super().__init__(name)
        self.hunger += 2
    <mask token>
    <mask token>

<mask token>


class CuddlyPet(Pet):

    def __init__(self, name):
        super().__init__(name)
        self.hunger += 2

    def cuddle(self, other_pet):
        other_pet.get_love()
    <mask token>

<mask token>


class CuddlyPet(Pet):

    def __init__(self, name):
        super().__init__(name)
        self.hunger += 2

    def cuddle(self, other_pet):
        other_pet.get_love()

    def be_alive(self):
        self.fullness -= self.hunger
        self.happiness -= self.mopiness / 2
        for toy in self.toys:
            self.happiness += toy.use()

from pet import Pet


class CuddlyPet(Pet):

    def __init__(self, name):
        super().__init__(name)
        self.hunger += 2

    def cuddle(self, other_pet):
        other_pet.get_love()

    def be_alive(self):
        self.fullness -= self.hunger
        self.happiness -= self.mopiness / 2
        for toy in self.toys:
            self.happiness += toy.use()
