ship.py
def center_ship(self):
        """
        put the ship to the original position
        """
        # locate the new ship at the center of screen bottom
        self.rect.midbottom = self.screen_rect.midbottom

        # store float value
        self.x = float(self.rect.x)

        put the ship to the original position
        
put the ship to the original position
put the ship to the original position
def center_ship(self):
        self.rect.midbottom = self.screen_rect.midbottom
        self.x = float(self.rect.x)
def center_ship ( self ) : self . rect . midbottom = self . screen_rect . midbottom self . x = float ( self . rect . x )
put the ship to the original position
put the ship to the original position
"""
        put the ship to the original position
        """ # locate the new ship at the center of screen bottom # store float value
self