screens/game_screen.py
def update_death_group(self):
        """ Updating the soon to die Enemy Group"""
        for enemy in self.death_group:
            enemy.update()
            if enemy.killed:
                try:
                    self.death_group.remove(enemy)
                except AssertionError:
                    print("ERROR: Remove Gumba does not exist")
                    pass
 Updating the soon to die Enemy Group
Updating the soon to die Enemy Group
Updating the soon to die Enemy Group
def update_death_group(self):
        for enemy in self.death_group:
            enemy.update()
            if enemy.killed:
                try:
                    self.death_group.remove(enemy)
                except AssertionError:
                    print("ERROR: Remove Gumba does not exist")
                    pass
def update_death_group ( self ) : for enemy in self . death_group : enemy . update ( ) if enemy . killed : try : self . death_group . remove ( enemy ) except AssertionError : print ( "ERROR: Remove Gumba does not exist" ) pass
Updating the soon to die Enemy Group
Updating the soon to die Enemy Group
""" Updating the soon to die Enemy Group"""
self