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