Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. def vowel_count(string):
  2.     num_vowels=0
  3.     for char in string:
  4.         if char in "aeiouAEIOU":
  5.            num_vowels = num_vowels+1
  6.     return num_vowels
  7. print(vowel_count("estate")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement