这是那段代码。
'def remove_DeadObjects(self):'
'for bullet in self.bullets:'
'if not bullet.alive:'
'self.bullets.remove(bullet)'
'for asteroid in self.asteroids:'
'if not asteroid.alive:'
'self.asteroids.remove(asteroid)'
'if not self.ship.alive:'
'arcade.draw_text("Sorry, you got hit. Maybe try some spaceship training! See you soon!!", width = 300, height = 300,arcade.color.BLUE,)'