def format_as_string(string: str):
    """
    Formats a given string in a different color using ANSI escape sequences
    (see https://stackoverflow.com/a/287944/5299750) and adds double quotes
    :param string: to be printed
    """
    ansi_start = '\033[32m'
    ansi_end = '\033[0m'
    return f"{ansi_start}\"{string}\"{ansi_end}"