summaryrefslogtreecommitdiff
path: root/progs/a896.py
blob: e4022a704f94f4966b5b64595f80686cf94b072c (plain)
1
2
3
4
5
6
def remove_datatype(test_tuple, data_type):
  res = []
  for ele in test_tuple:
    if not isinstance(ele, data_type):
      res.append(ele)
  return (res)