summaryrefslogtreecommitdiff
path: root/progs/a340.py
blob: 1bde7c250cdeeeae512442987afc53e2867a213c (plain)
1
2
3
4
5
6
7
def count_elim(num):
  count_elim = 0
  for n in num:
    if isinstance(n, tuple):
        break
    count_elim += 1
  return count_elim