All pastes #222159 Raw Edit

madewokherd

public python v1 · immutable
#222159 ·published 2006-10-26 02:36 UTC
rendered paste body
def removedups2(l):    s = set()    result = []    for item in l:        if item not in s:            s.add(item)            result += s    return result