<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def showHostDivision(self, headless):
 """Show the worker distribution over the hosts."""

        scoop.logger.info('Worker d--istribution: ')
        for worker, number in self.worker_hosts:
            first_worker = (worker == self.worker_hosts[0][0])
            scoop.logger.info('   {0}:\t{1} {2}'.format(
                worker,
                number - 1 if first_worker or headless else str(number),
                "+ origin" if first_worker or headless else "",
                )
            )