Vowel Counter ๐ค
You can loop over a word exactly like a list โ Python hands you one letter at a time:
for letter in "cat":
print(letter) # โ c, then a, then t
And the word in checks whether something is inside something else:
if "e" in "aeiou":
print("that's a vowel!")
Put those two together with a counter variable and you can count anything. ๐
Your mission
Count how many vowels (a, e, i, o, u) are in the word
unbelievable and print the number.
Count them by hand first if you like โ then see if Python agrees. ๐
Your code
Press โถ Run to see what your code does!