summaryrefslogtreecommitdiff
path: root/progs/a641.py
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-06-27 22:41:06 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-06-27 22:41:06 +0200
commit49357616859faaf9e53468ce71d6cd99bda4fb4a (patch)
treed861f4962fce25638a348f81609562b85ec18174 /progs/a641.py
parentd653d3598d71fea30d45d118e3d046a3aed53ac1 (diff)
Restore progs folder
Diffstat (limited to 'progs/a641.py')
-rw-r--r--progs/a641.py8
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