def multiline_string_repr(string):
    """Return a representation of the string using multi-line string format
    if possible."""
    if '"""' not in string:
        string = '"""{}\n"""\n'.format(string)
    elif "'''" not in string:
        string = "'''{}\n'''\n".format(string)
    else:
        string = repr(string) + "\n"
    return string