summaryrefslogtreecommitdiff
path: root/progs/a340.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a340.py')
-rw-r--r--progs/a340.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a340.py b/progs/a340.py
new file mode 100644
index 0000000..1bde7c2
--- /dev/null
+++ b/progs/a340.py
@@ -0,0 +1,7 @@
+def count_elim(num):
+ count_elim = 0
+ for n in num:
+ if isinstance(n, tuple):
+ break
+ count_elim += 1
+ return count_elim \ No newline at end of file