<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hrule(width=None, char=None):
 """Outputs or returns a horizontal line of the given character and width. Returns printed string."""

    width = width or HRWIDTH
    char = char or HRCHAR
    return echo(getline(char, width))