summaryrefslogtreecommitdiff
path: root/progs/a503.py
blob: 5046f8549cc3e1597886d59aefb032f86367c2ba (plain)
1
2
3
4
5
6
7
8
9
def extract_singly(test_list):
  res = []
  temp = set()
  for inner in test_list:
    for ele in inner:
      if not ele in temp:
        temp.add(ele)
        res.append(ele)
  return (res)