<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def losing_name(self):
 """ Returns a ``string`` of the losing team's name, such as 'Indiana' Hoosiers'. """

        if self.winner == HOME:
            if 'cbb/schools' not in str(self._away_name):
                return str(self._away_name)
            return self._away_name.text()
        if 'cbb/schools' not in str(self._home_name):
            return str(self._home_name)
        return self._home_name.text()