Ad
  • Custom User Avatar

    You've responded with this multiple times but I don't understand what you mean by "don't mutate the input." Why would we be mutating the input?

  • Custom User Avatar

    Python tests reuse the same list for all test cases for some reasons, so don't mutate the input.

  • Default User Avatar

    I get the same error in Python when r=2, yet I tried it in my idle and it returned 'Leonard'. Don't know what's the problem here.

  • Custom User Avatar

    Want to share your code?

    I was able to solve it (eventually) using Python.

  • Custom User Avatar

    Have yet to solve, but maybe there's some riddle to 'return the name of a man who will drink'? Maybe not...