Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def vowel_count(str):
- vowel = 0
- for i in str:
- if (i == 'a' or i == 'e' or i == 'i' or i == 'o' or i == 'u'):
- vowel += 1
- return ("The count of vowel in the string is ", vowel)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement