<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def put(self, message, indent=0):
        '''
        Print message with an indent.

        :param message:
        :param indent:
        :return:
        '''
        color = self._colors_conf.get(indent + indent % 2, self._colors_conf.get(0, self._default_color))

        for chunk in [' ' * indent, self._colors[color], message, self._colors['ENDC']]:
            self._device.write(str(chunk))
        self._device.write(os.linesep)
        self._device.flush()