(seq)
return [seen.add(x) or x for x in seq if x not in seen]
get unique from list found it on stackoverflow
get unique from list found it on stackoverflow
get unique from list found it on stackoverflow
def unique(seq):
    """
    get unique from list found it on stackoverflow
    """
    seen = set()
    return [seen.add(x) or x for x in seq if x not in seen]
def unique ( seq ) : seen = set ( ) return [ seen . add ( x ) or x for x in seq if x not in seen ]