<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def truncate_ellipsis(line, length=30):



    l = len(line)
    return line if l < length else line[:length - 3] + "..."