You are viewing a single comment's thread. Return to all comments →
def minion_game(string): vowel =['A','E','I','O','U'] S=0 K=0 for i in range(len(string)): if string[i] in vowel: K+= len(string)-i else: S+=len(string)-i if S>K: print("Stuart"+" "+ "%d" % S) elif K>S: print("Kevin"+" "+'%d' % K) else: print("Draw")
Seems like cookies are disabled on this browser, please enable them to open this website
The Minion Game
You are viewing a single comment's thread. Return to all comments →