Skip to content

Commit 2a7acb4

Browse files
authored
Create Vowel Count
1 parent 058c469 commit 2a7acb4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Vowel Count

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
def get_count(sentence):
2+
vocales = 'aeiou'
3+
cuenta = 0
4+
for char in sentence:
5+
if char in vocales:
6+
cuenta += 1
7+
return cuenta

0 commit comments

Comments
 (0)