<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_dups(seq):
 """remove duplicates from a sequence, preserving order"""

    seen = set()
    seen_add = seen.add
    return [x for x in seq if not (x in seen or seen_add(x))]