<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unique(iterable):
 """Filter out duplicate items from an iterable"""

    seen = set()
    for item in iterable:
        if item not in seen:
            seen.add(item)
            yield item