(value)
return retVal
Flattens list to a string value

    >>> listToStrValue([1,2,3])
    '1, 2, 3'
Flattens list to a string value
Flattens list to a string value
def listToStrValue(value):
    """
    Flattens list to a string value

    >>> listToStrValue([1,2,3])
    '1, 2, 3'
    """

    if isinstance(value, (set, tuple)):
        value = list(value)

    if isinstance(value, list):
        retVal = value.__str__().lstrip('[').rstrip(']')
    else:
        retVal = value

    return retVal
def listToStrValue ( value ) : if isinstance ( value , ( set , tuple ) ) : value = list ( value ) if isinstance ( value , list ) : retVal = value . __str__ ( ) . lstrip ( '[' ) . rstrip ( ']' ) else : retVal = value return retVal