<s> from math import sqrt <EOL> class Rocket ( ) : <EOL> def __init__ ( self , x = <NUM_LIT:0> , y = <NUM_LIT:0> ) : <EOL> self . x = x <EOL> self . y = y <EOL> def move_rocket ( self , x_increment = <NUM_LIT:0> , y_increment = <NUM_LIT:1> ) : <EOL> self . x += x_increment <EOL> self . y += y_increment <EOL> def get_distance ( self , other_rocket ) : <EOL> distance = sqrt ( ( self . x - other_rocket . x ) ** <NUM_LIT:2> + ( self . y - other_rocket . y ) ** <NUM_LIT:2> ) <EOL> return distance <EOL> class Shuttle ( Rocket ) : <EOL> def __init__ ( self , x = <NUM_LIT:0> , y = <NUM_LIT:0> , flights_completed = <NUM_LIT:0> ) : <EOL> super ( ) . __init__ ( x , y ) <EOL> self . flights_completed = flights_completed </s>
