Count the Vowels
This commit is contained in:
2
countthevowels.py
Normal file
2
countthevowels.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
s = input().strip().lower()
|
||||||
|
print(sum([s.count(vowel) for vowel in "aeiou"]))
|
||||||
Reference in New Issue
Block a user