diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-06-27 22:41:06 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-06-27 22:41:06 +0200 |
commit | 49357616859faaf9e53468ce71d6cd99bda4fb4a (patch) | |
tree | d861f4962fce25638a348f81609562b85ec18174 /progs/a641.py | |
parent | d653d3598d71fea30d45d118e3d046a3aed53ac1 (diff) |
Restore progs folder
Diffstat (limited to 'progs/a641.py')
-rw-r--r-- | progs/a641.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/progs/a641.py b/progs/a641.py index 1b7e4bb..51393cd 100644 --- a/progs/a641.py +++ b/progs/a641.py @@ -1,5 +1,5 @@ def count_first_elements(test_tup):
- for count, ele in enumerate(test_tup):
- if isinstance(ele, tuple):
- break
- return count
+ for count, ele in enumerate(test_tup):
+ if isinstance(ele, tuple):
+ break
+ return (count)
\ No newline at end of file |