Ad
  • Custom User Avatar

    I just checked the input with print() and the answer is yes. There are so many trash data with other types

  • Custom User Avatar

    A correct solution can be very simple. Maybe you're just making it too difficult.

    Ranks are pretty much set in stone on approval, can vary between languages for the same task, and are subjective. Your 4 ranking is a major outlier. 8 people ranked it between 5 and 8, with an average of 6.

    Reranking approved kata can only be done by an admin ( not even a mod ). The kata's own discourse is not the place to complain. If you really are serious, raise an Issue on https://github.com/codewars/content-issues, where it will probably be promptly closed without action, unless the approved rank was wildly out of sync with the community average rank ( it was not, here ).

    If you read only one thing from the above, let it be this:

    The kata's own discourse is not the place to complain.

  • Custom User Avatar

    I agree. Makes no sense to me.

  • Custom User Avatar

    Not 4kyu at all, the description is just awful...

  • Custom User Avatar

    You would be surprised how many people failed to come up with the solution. The fact something is basic for you doesn't mean it's basic for everyone.

  • Custom User Avatar

    think of it as 2 panes by 2 panes

    so for example N=1 would be like
    -----
    |.|.|
    |-+-|
    |.|.|
    -----
    and N = 2 would be like
    -------
    |..|..|
    |..|..|
    |--+--|
    |..|..|
    |..|..|
    -------

    and N= 4 would be
    -----------
    |....|....|
    |....|....|
    |....|....|
    |....|....|
    |----+----|
    |....|....|
    |....|....|
    |....|....|
    |....|....|
    -----------

  • Custom User Avatar

    Thank you for comment. At first I wanted to add numbers, but then I thought there wasn't much point in doing that. And a lot of people have already solved the problem. If I change the tests, all the solutions will be invalid.

  • Default User Avatar

    there may not be contain any type other than integers, otherwise it will be unsolvable, it is sudoku!

  • Default User Avatar

    20 lines instead of 1. good typing practice

  • Default User Avatar

    Does it means 0,1,2,3,4,5,6,7,8,9 A B...Z

    Yes. Isn'it Length of "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" 36?

  • Default User Avatar

    thank you very much!

  • Custom User Avatar

    You should post your code instead of some "hints" if you want somebody to help. And if I understand your explanation correctly, then your solution is neither efficient not correct.

  • Custom User Avatar

    inputting xx alone is not a string. You must add " or ' around the xx to let Python know it is a string and not a variable name or something else.