Ad
  • Default User Avatar

    it works for every case except one of the main test cases

    What if there is nothing to print?

  • Custom User Avatar

    This sounds somewhat unusual. If you haven't read the FAQ item on printing the test case input then please do, paying special attention to flushing, and order the prints are displayed w.r.t. assertion message (i.e. printed output is present above failure message).

    If you already know all of this and you still cannot pass, show us your code and we will take a look.

  • Custom User Avatar

    I still cannot deduce what is the failure case. I'm attempting to see what numbers are being used for the test case & it wont populate in the log. I've called print() at each step to show what the code is doing as well & it works for every case except one of the main test cases. When i go to submit, it shows the log for every case except the failed scenario where it says "False should be True"

  • Custom User Avatar

    If you want to see the input, you have to print the input, not the output...

  • Custom User Avatar

    A mi me sale el mismo error al final resolviste cual era el problema

  • Custom User Avatar

    Alguien sabe que validacion en el codigo hace el test4 porque es el unico que me falta para pasar este reto

  • Custom User Avatar

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

  • Custom User Avatar

    Ahh i see, I just needed to throughly read the documentation after stepping away for a second. Thanks again!

  • Custom User Avatar

    Valid passwords will only be alphanumeric characters

    There's a small mistake in your regex.

  • Custom User Avatar

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

  • Custom User Avatar

    Your code is wrong (use print to see what you're doing wrong), and please use markdown formatting and mark your post as having spoiler content when posting code like that. Btw, use Question label when the problem is your code, not the kata.

  • Custom User Avatar

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