Posts

Showing posts with the label the minion game

Challenge - #26 - The Minion Game

  def  minion_game(string):      # your code goes here     vowel =  'AEIOU'     ks =  0   # ks - kevin score     ss =  0   # ss - stuart score      for  i  in   range ( len (s)):          if  s[i]  in  vowel :             ks += ( len (s)-i)          else :             ss +=  len (s)-i           if  ks > ss :          print (f "Kevin {ks}" )      elif  ks < ss :    ...