encapsulation/wild_cat_zoo_exe/zoo.py
def fire_worker(self, worker_name):
        '''
        -	If there is a worker with that name in the workers list, remove him and return "{worker_name} fired successfully"
        -	Otherwise return "There is no {worker_name} in the zoo"
        '''
        for worker in self.workers:
            if worker.name == worker_name:
                self.workers.remove(worker)
                return f"{worker_name} fired successfully"
        return f"There is no {worker_name} in the zoo"

        -	If there is a worker with that name in the workers list, remove him and return "{worker_name} fired successfully"
        -	Otherwise return "There is no {worker_name} in the zoo"
        
If there is a worker with that name in the workers list, remove him and return "{worker_name} fired successfully"
Otherwise return "There is no {worker_name} in the zoo"
If there is a worker with that name in the workers list remove him and return " { worker_name } fired successfully " Otherwise return " There is no { worker_name } in the zoo "
def fire_worker(self, worker_name):
        for worker in self.workers:
            if worker.name == worker_name:
                self.workers.remove(worker)
                return f"{worker_name} fired successfully"
        return f"There is no {worker_name} in the zoo"
def fire_worker ( self , worker_name ) : for worker in self . workers : if worker . name == worker_name : self . workers . remove ( worker ) return f"{worker_name} fired successfully" return f"There is no {worker_name} in the zoo"
If there is a worker with that name in the workers list, remove him and return "{worker_name} fired successfully"
       Otherwise return "There is no {worker_name} in the zoo"
If there is a worker with that name in the workers list remove him and return " { worker_name } fired successfully " Otherwise return " There is no { worker_name } in the zoo "
'''
        -	If there is a worker with that name in the workers list, remove him and return "{worker_name} fired successfully"
        -	Otherwise return "There is no {worker_name} in the zoo"
        '''
self
worker_name