Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. vowels = "aeiou"
  2. message = input("enter your message >" )
  3. output = ""
  4. vowel_count = 0
  5. for character in message:
  6. if character in vowels:
  7. vowel_count += 1
  8.  
  9. print("Your message has " + str(vowel_count) + " vowels in it")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement