You are viewing a single comment's thread. Return to all comments →
def minion_game(string): s =0 k =0 vovl = ["A","E","I","O","U"] for i in range(len(string)): if string[i] in vovl: k += len(string)-i else: s += len(string)-i if s>k: print("Stuart {}".format(s)) elif(s==k): print("Draw") else: print("Kevin {}".format(k))
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 →