Ad
  • Custom User Avatar

    Not an issue

  • Custom User Avatar

    Trying to solve using Python3, one test passes (and every number I pass to my algorithm returns the correct prime factor decomposition with testing I've done outside of this kata), but then another fails with: '(2)' should equal '(7919)'

    Can someone help explain to me what this might mean?

  • Custom User Avatar

    I think there is a difference between "" and ","

  • Custom User Avatar

    Using Python 2, for the test case:

    Test.assert_equals(last_digit(2 ** 200, 2 ** 300), 6)

    Locally, I get the correct answer returned, which is 6. But when I try in the editor here, I get:

    Traceback: in <module> in last_digit TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'str'

  • Custom User Avatar

    The problem is that it asks for the function to print the diamond. Guess what, it only accepts return. You're not supposed to have the word print in the whole damn thing. So I wasted hours on trying to debug when the only problem was that it doesn't give you the correct information.

  • Custom User Avatar

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

  • Custom User Avatar

    So many people have issues with timeout errors, re-write the test cases!
    Like @paolo435 I just re-wrote my Python solution in JS, and it passed.

  • Custom User Avatar

    Using Python, upon submit, I'm getting:
    ✘ 4 should equal 2

    Any idea what's going on? Is there a way to actually see the test cases being used?

  • Custom User Avatar

    I have a Python solution to this that works with any number I pass to it, but when I submit to this Kata, I'm getting this error:

    ✘ None should equal ' *\n***\n *\n'

    What does this mean?

  • Custom User Avatar

    What's the deal with this Kata? All tests pass, except test for null array, where I get back:

    ✘ Must work with no names - Expected: , instead got: ,

    What's the differnece between , and , ?

  • Custom User Avatar

    This kata works.

    Your code seems to add the previous arguments on the current one. Also "Y" is not considered a vowel, so you don't have to get rid of it (I know the description doesn't fully disclose this but yeah). If still stuck, just post code and I'd be happy to help.

  • Custom User Avatar

    For the love of god, please specify that Y is not considered a vowel in the description. I understand that in english Y can be a vowel or a consonant depending on the context, however in other languages such as mine (swedish) y is ALWAYS considered a vowel. While this proved a valuable learning experience in how the english language works, it should really just right out say that Y should be untouched by the replace.

  • Custom User Avatar

    Oh looky here, another broken Kata....yay...
    My solution passes all tests, except the last one, wherein the failed test result is:

    ✘ Expected: N ffns bt, Yr wrtng s mng th wrst 'v vr rd, instead got: Ths wbst s fr lsrs LL!N ffns bt, r wrtng s mng th wrst 'v vr rd

    So apparently, the test isn't setup properly? When I actually pass the string it looks like it wants to be testing, it works. But this failed test result looks like extra text is being added.