summaryrefslogtreecommitdiff
path: root/progs/a73.py
blob: 3273244d5cd09831146f60768905fbd43449c4bd (plain)
1
2
3
4
from collections import OrderedDict
def remove_duplicate(string):
  result = ' '.join(OrderedDict((w,w) for w in string.split()).keys())
  return result