Ad
  • Custom User Avatar

    Hey, I'd just like to know if such a shape is a valid input:

    '\n'.join(['+----------+'],
              ['|          |'],
              ['|   +------+'],
              ['|          |'],
              ['+----------+'])
    
  • Custom User Avatar

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

  • Custom User Avatar

    Believe I've fixed the issues, thanks for correcting me

  • Custom User Avatar

    Sorry about that haha, I meant to change that in the hidden test cases
    This is my first kata and there's not much in the way of instruction for this that I found, so thanks for this

  • Custom User Avatar

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

  • Custom User Avatar

    It seems like all of the random tests for python return 0, which it should not do.

  • Custom User Avatar

    Peculiar. I had gotten this error on the first run, then proceeded to run it again quite a few times until I landed on it again, so I could see the circumstances; but it never came up. I'll look into it, but I'm very confused as to why it happens.

  • Custom User Avatar

    About the indexing: yes, both are 0-indexed, that was meant to be a convenience but it definitely requires a note — I'll add that to the description
    No, not all shelves need be used and no shelf has a maximum trophy limit (although that might be an interesting addition); these will also be added

    About the tests, I definitely ought to, absolutely. This is my first time making a kata and was sort of a test to see if I could (this is actually a variation of a question on an LSAT that my friends and I were doing math on for some reason), so I greatly appreciate the criticism.

  • Custom User Avatar

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