# Title: Count vowels
# Heading: Python Program to Count Vowels in a String
# Level: beginner
# Tags: vowels, count vowels, string, loops
# About: Counts the vowels (a, e, i, o and u) in a string, capital letters included, by checking each character in turn.

def count_vowels(text):
    """The number of vowels (a, e, i, o, u) in text."""
    count = 0
    for char in text.lower():
        if char in "aeiou":
            count += 1
    return count


print("Vowels in Education:", count_vowels("Education"))
print("Vowels in Rhythm:", count_vowels("Rhythm"))
