We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a5c257 + 25bd076 commit d287a93Copy full SHA for d287a93
count_group/count_group.py
@@ -1,5 +1,7 @@
1
2
def count_group(string: str) -> list:
3
+ if not string:
4
+ return []
5
counter = 0
6
group = []
7
temp = string[0]
0 commit comments