def quote(arg: object) -> object:
    """
    Puts quotes around a string (so it appears as a string in output). Otherwise returns
    argument unchanged.
    :param arg: argument to transform.
    :return: argument quoted if a string, otherwise unchanged.
    """
    if isinstance(arg,str):
        return f"'{arg}'"
    else:
        return arg