Return the number (count) of vowels in the given string. We will consider a, e, i, o, u as vowels for this Kata (but not y). The input string will only consist of lower case letters and/or spaces.
def get_count(sentence):
# String contains all vowels exepts y
vowelString="aeiou"
# initialize number of vowels in the given string (sentence)
nbreVowelsString=0
# loop in the vowelString
# and each time count the number of time this vowel in the sentence string
for vowel in vowelString:
nbreVowelsString += sentence.count(vowel)
return nbreVowelsString