encapsulation/wild_cat_zoo_exe/zoo.py
def pay_workers(self):
        '''
        -	If you have enough budget to pay the workers (sum their salaries) pay them and return "You payed your workers.
            They are happy. Budget left: {left_budget}"
        -	Otherwise return "You have no budget to pay your workers. They are unhappy"
        '''
        sum_salaries = 0
        for worker in self.workers:
            sum_salaries += worker.salary
        if not self.is_enough_budget(sum_salaries):
            return "You have no budget to pay your workers. They are unhappy"
        self.__budget -= sum_salaries
        return f"You payed your workers. They are happy. Budget left: {self.__budget}"

        -	If you have enough budget to pay the workers (sum their salaries) pay them and return "You payed your workers.
            They are happy. Budget left: {left_budget}"
        -	Otherwise return "You have no budget to pay your workers. They are unhappy"
        
If you have enough budget to pay the workers (sum their salaries) pay them and return "You payed your workers.
They are happy. Budget left: {left_budget}"
Otherwise return "You have no budget to pay your workers. They are unhappy"
If you have enough budget to pay the workers ( sum their salaries ) pay them and return " You payed your workers . They are happy . Budget left : { left_budget } " Otherwise return " You have no budget to pay your workers . They are unhappy "
def pay_workers(self):
        sum_salaries = 0
        for worker in self.workers:
            sum_salaries += worker.salary
        if not self.is_enough_budget(sum_salaries):
            return "You have no budget to pay your workers. They are unhappy"
        self.__budget -= sum_salaries
        return f"You payed your workers. They are happy. Budget left: {self.__budget}"
def pay_workers ( self ) : sum_salaries = 0 for worker in self . workers : sum_salaries += worker . salary if not self . is_enough_budget ( sum_salaries ) : return "You have no budget to pay your workers. They are unhappy" self . __budget -= sum_salaries return f"You payed your workers. They are happy. Budget left: {self.__budget}"
If you have enough budget to pay the workers (sum their salaries) pay them and return "You payed your workers.
If you have enough budget to pay the workers ( sum their salaries ) pay them and return " You payed your workers .
'''
        -	If you have enough budget to pay the workers (sum their salaries) pay them and return "You payed your workers.
            They are happy. Budget left: {left_budget}"
        -	Otherwise return "You have no budget to pay your workers. They are unhappy"
        '''
self