The Minion Game

  • + 1 comment

    len(s) has a constant time complexity (see "Get Length" under list on this page). You're not saving (much) time storing it in another variable.