Ad
  • Custom User Avatar

    Can somebody help me with the random tests. What is the secret over there, they are definetely different...

  • Custom User Avatar

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

  • Custom User Avatar

    Yeah, it should... But regardless all logic it returns false. Idk why, everything else seems works fine but this '1234' is fricking f up

  • Custom User Avatar

    Yeah, sure! I just googled some info bout typeof, therefore tried Number, but initially I had number. If you don't mind answering, do I really need to use try and catch or throw is okay in that case and the only mistake I made is the logical one?

  • Custom User Avatar

    Type 'Number' doesn't exist, only 'number' (not that it's the solution, but something you should know)

  • Custom User Avatar

    Sorry for that, I haven't seen your reply the moment I post the previous message. Thanks for telling me this!

  • Custom User Avatar

    Once again: USE A SPOILER WHEN YOU POST CODE.

    I put the flag on for you twice.

    I also gave you a link to format properly your code.

  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

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

  • Custom User Avatar

    You don't need to try/except the error, just raise it.

  • Custom User Avatar

    You should use the raise keyword.

  • Custom User Avatar

    Print the input, see why your code fails that test.

  • Custom User Avatar

    hello, in prerequisites basic test i have a error "It should give an error for invalid input: True should equal False" but code is fine, all another tests passed. Work with Python, what do i do wrong?

  • Custom User Avatar

    Read the description again, 1 = 1

    17935 # 1 + 7 = 3 + 5 // if the length is odd, you should ignore the middle number when adding the halves.

  • Loading more items...