(self, planet)
return "d {} {}".format(self.id, planet.id)
Generate a command to dock to a planet.

        :param Planet planet: The planet object to dock to
        :return: The command string to be passed to the Halite engine.
        :rtype: str
Generate a command to dock to a planet.
Generate a command to dock to a planet .
def dock(self, planet):
        """
        Generate a command to dock to a planet.

        :param Planet planet: The planet object to dock to
        :return: The command string to be passed to the Halite engine.
        :rtype: str
        """
        return "d {} {}".format(self.id, planet.id)
def dock ( self , planet ) : return "d {} {}" . format ( self . id , planet . id )