summaryrefslogtreecommitdiff
path: root/progs/a896.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a896.py')
-rw-r--r--progs/a896.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a896.py b/progs/a896.py
new file mode 100644
index 0000000..e4022a7
--- /dev/null
+++ b/progs/a896.py
@@ -0,0 +1,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) \ No newline at end of file