summaryrefslogtreecommitdiff
path: root/progs/a585.py
blob: 64aa5b20a2e85ebd72feb66de13ffc831b913d18 (plain)
1
2
3
4
5
6
7
def check_type(test_tuple):
  res = True
  for ele in test_tuple:
    if not isinstance(ele, type(test_tuple[0])):
      res = False
      break
  return (res)