Skip to content

Commit 38c91df

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 435f37f commit 38c91df

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

strings/count_vowels.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def count_vowels(s: str) -> int:
2424
if not isinstance(s, str):
2525
raise TypeError("Input must be a string")
2626

27-
2827
vowels = "aeiouAEIOU"
2928
return sum(1 for char in s if char in vowels)
3029

0 commit comments

Comments
 (0)