Prints a string with the given formatting.

def print_line(s, bold=False, underline=False, blinking=False, color=None, bgcolor=None, end='\n'):
    """
    Prints a string with the given formatting.

    """
    s = get_line(s, bold=bold, underline=underline,
                 blinking=blinking, color=color, bgcolor=bgcolor)
    print(s, end=end)