Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vowels = "aeiou"
- count = 0
- counter = [ ]*5
- words = input("Provide a sentence or more: ")
- for letter in words:
- if letter in vowels:
- counter.append(letter)
- count = count + 1
- print("vowel")
- print("Number of vowels :", count)
- print("List of vowels: ", counter)
Add Comment
Please, Sign In to add comment