players.py
def ignore_enemy(self, name: str) -> None:
        """ Remove an enemy from <self>'s enemy list

        === Precondition ===
        - name should be in self._enemies

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.select_enemy('p1')
        >>> player.ignore_enemy('p1')
        >>> player.get_enemies()
        []
        """
        if name in self._enemies:
            self._enemies.remove(name)
 Remove an enemy from <self>'s enemy list

        === Precondition ===
        - name should be in self._enemies

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.select_enemy('p1')
        >>> player.ignore_enemy('p1')
        >>> player.get_enemies()
        []
        
Remove an enemy from 's enemy list
Precondition
name should be in self._enemies


Remove an enemy from ' s enemy list Precondition name should be in self . _enemies
def ignore_enemy(self, name: str) -> None:
        if name in self._enemies:
            self._enemies.remove(name)
def ignore_enemy ( self , name : str ) -> None : if name in self . _enemies : self . _enemies . remove ( name )
Remove an enemy from <self>'s enemy list
 Precondition
 name should be in self._enemies
Remove an enemy from <self > ' s enemy list Precondition name should be in self . _enemies
""" Remove an enemy from <self>'s enemy list

        === Precondition ===
        - name should be in self._enemies

        >>> player = Player('p0', 3, 1, 'Game (a valid game class)',\
        'purple', (50, 100))
        >>> player.select_enemy('p1')
        >>> player.ignore_enemy('p1')
        >>> player.get_enemies()
        []
        """
self
name
str