Created
March 16, 2018 13:56
-
-
Save Hwatwasthat/f4ca2228ea7e998c6f8f90692ab4e315 to your computer and use it in GitHub Desktop.
Accumulator Algorithm - Vowels created by Hwatwasthat - https://repl.it/@Hwatwasthat/Accumulator-Algorithm-Vowels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
word = input("In:") | |
sumof = 0 | |
x = 0 | |
for i in word: | |
if word[x] == "a" or word[x] == "e" or word[x] == "i" or word[x] == "o" or word[x] == "u": | |
sumof += 1 | |
x += 1 | |
print(sumof) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment