The Minion Game

  • + 0 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')