summaryrefslogtreecommitdiff
path: root/progs/a641.py
blob: 52b0f6af5dd188eca7dad15a59f149254ba3b0c1 (plain)
1
2
3
4
5
6
7
# FIXME: multiple variable assignment in for loop
#
# def count_first_elements(test_tup):
#   for count, ele in enumerate(test_tup):
#     if isinstance(ele, tuple):
#       break
#   return (count)