Question: 
Write a function to check if given tuple is distinct or not.


Model's Code:
def check_distinct(tup):
    return len(tup) == len(set(tup))



Sample Correct Code:
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) 


Asserts:
assert check_distinct((1, 4, 5, 6, 1, 4)) == False
assert check_distinct((1, 4, 5, 6)) == True
assert check_distinct((2, 3, 4, 5, 6)) == True


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 394 of 974: 285/394 (72.33502538071066%): success