Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = input()
- sum = 0
- for letter in text:
- if letter == 'a':
- sum += 1
- elif letter == 'e':
- sum += 2
- elif letter == 'i':
- sum += 3
- elif letter == 'o':
- sum += 4
- elif letter == 'u':
- sum += 5
- print(sum)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement