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