Ad
  • Default User Avatar

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

  • Custom User Avatar

    Not a kata issue. See the list of forbidden chars, /, *, 0 and 1 are in your code, they count even as a comment.

  • Custom User Avatar

    I don't know if it was just me but something was wrong.
    The kata is good nonetheless but the issue is Value error.
    my code was the same as everyone and contained other code examples in comment.
    My code outputted 5 but Value error when there was none.
    I went ahead on other sites with the same problem and they worked.
    Just a heads up.

  • Custom User Avatar

    This was very fun. I've coded a one-liner solution which I thought was very clever, but as I checked other's codes,,, just wow. Mine was garbage

  • Custom User Avatar

    I had the same code as the owner of this post. Thank you for noticing this loophole. I think it was not considered by the creator of the Kata when the checker was coded.

  • Custom User Avatar

    almost the same idea. nice.