You are viewing a single comment's thread. Return to all comments →
consonants = 0 s = string.upper() if len(s)>0 and len(s)<=(10**6): for i in range(len(s)): if s[i] in ['A','E','I','O','U']: vowels += len(s) - i else: consonants += len(s) - i if vowels > consonants: print('Kevin',vowels) elif vowels < consonants: print('Stuart',consonants) 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 →