Count the vowels
Write count_vowels(text) that returns how many vowels (a, e, i, o, u — either case) the text contains.
Examples
count_vowels("ScholastiCoder") → 5Exercise
3 checksCount the vowels
def count_vowels(text):
...
print(count_vowels("ScholastiCoder"))
Press Run to try your code, then Check answer to grade it.