<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 'Los Angeles Dodgers'. """

        if self.winner == HOME:
            return self._away_name.text()
        return self._home_name.text()