Ad
  • Custom User Avatar

    don't use classes, it won't ever pass the tests (too slow)

  • Custom User Avatar

    Hey! I'm thinking of writing a class or two in python to provide a structure for iterating through each orientation of the N by 2 board. Is this over the top for this kata? I'm trying to be most efficient, but this approach seems like the most viable option at the moment. Let me know if I'm going crazy!

    Thanks.

  • Custom User Avatar

    Thank you so much! I had looked something over in the range function in my for loop. I solved it!

  • Custom User Avatar

    Read this first. Print the input, see why your code fails (it'll fail in Pycharm too). Mutating the list you're iterating is a bad idea.

  • Custom User Avatar

    Regarding my previous comment, I am using Python.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution