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.
1 parent 3c88735 commit 9120e22Copy full SHA for 9120e22
1 file changed
strings/count_vowels.py
@@ -1,6 +1,13 @@
1
def count_vowels(s: str) -> int:
2
+ """Count the number of vowels in a given string.
3
+
4
+ Args:
5
+ s (str): Input string.
6
7
+ Returns:
8
+ int: Number of vowels in the string.
9
"""
- Count the number of vowels in a given string.
10
11
12
:param s: Input string to count vowels in.
13
:return: Number of vowels in the input string.
0 commit comments