<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_line(self, line, ending=None):
 """ Write the string to the wire, followed by a newline. The newline string can be changed by changing ``nc.LINE_ENDING``. Aliases: sendline, writeline, write_line, writeln, sendln """

        if ending is None:
            ending = self.LINE_ENDING
        return self.send(line + ending)