Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def vowel_count(string):
- num_vowels=0
- for char in string:
- if char in "aeiouAEIOU":
- num_vowels = num_vowels+1
- return num_vowels
- print(vowel_count("estate")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement