games.py
def check_for_winner(self) -> Optional[str]:
        """ Return the group of players (i.e. humans or zombies) that have won
        the game, if there are any humans left, humans win, otherwise, zombies
        win.

        >>> zombie_tag = ZombieTag(1, QuadTree((250, 250)), 5, 8, 6)
        >>> zombie_tag.check_for_winner()
        'humans'
        >>> zombie_tag.handle_collision('p0', 'p1')
        >>> zombie_tag.check_for_winner()
        'zombies'
        """
        if self._humans:
            return 'humans'
        else:
            return 'zombies'
 Return the group of players (i.e. humans or zombies) that have won
        the game, if there are any humans left, humans win, otherwise, zombies
        win.

        >>> zombie_tag = ZombieTag(1, QuadTree((250, 250)), 5, 8, 6)
        >>> zombie_tag.check_for_winner()
        'humans'
        >>> zombie_tag.handle_collision('p0', 'p1')
        >>> zombie_tag.check_for_winner()
        'zombies'
        
Return the group of players  that have won
the game, if there are any humans left, humans win, otherwise, zombies
win.


Return the group of players that have won the game if there are any humans left humans win otherwise zombies win .
def check_for_winner(self) -> Optional[str]:
        if self._humans:
            return 'humans'
        else:
            return 'zombies'
def check_for_winner ( self ) -> Optional [ str ] : if self . _humans : return 'humans' else : return 'zombies'
Return the group of players (i.e.
Return the group of players ( i . e .
""" Return the group of players (i.e. humans or zombies) that have won
        the game, if there are any humans left, humans win, otherwise, zombies
        win.

        >>> zombie_tag = ZombieTag(1, QuadTree((250, 250)), 5, 8, 6)
        >>> zombie_tag.check_for_winner()
        'humans'
        >>> zombie_tag.handle_collision('p0', 'p1')
        >>> zombie_tag.check_for_winner()
        'zombies'
        """
self