summaryrefslogtreecommitdiff
path: root/progs/a757.py
blob: 0058994b0abe34d1800242d2bf7f93867dc5971b (plain)
1
2
3
4
5
6
7
8
9
def check_distinct(test_tup):
  res = True
  temp = set()
  for ele in test_tup:
    if ele in temp:
      res = False
      break
    temp.add(ele)
  return (res)