def METHOD_NAME(value: object) -> str:
    """Convert *value* into a string; join its elements if it's an iterable."""
    if isinstance(value, str) or not isinstance(value, Iterable):
        return repr(value)
    return ' '.join(repr(i) for i in value)