Ad
  • Custom User Avatar

    I do not know if the "consecutiveCApitals" should be considered a camel case or not, but in my opinion such kind of inputs should have been given in the Description accompanying the kata.

  • Custom User Avatar

    @rowcased and @BobtheLantern, thank you! your comments allowed me to complete the kata!

  • Custom User Avatar

    The assertion message says 'consecutive CApitals' should equal 'consecutive C Apitals'

    That means your function returned consecutive CApitals, but it should have returned consecutive C Apitals, notice the space between the C and A in the expected return value?

    You can see the input by printing it inside your code. In this case you can just add print(s) as the first line of code in your function.

  • Custom User Avatar

    but that's not the error message I see when I run your code, it's:

    'consecutive CApitals' should equal 'consecutive C Apitals'

    showing a space between C and A

  • Custom User Avatar

    I'm trying to solve the kata in python. When I press ATTEMP button, the code I suggested passes all but one test case, which happens to be an Edge case. The error message says "'consecutive CApitals' should equal 'consecutive CApitals'". I do not understand what is the meaning of the message. Could anybody hint on what might be the problem? Unfortunately, I can't figure out how to see the input that my code fails on.

  • Custom User Avatar

    Your solution returns wrong answer for inputs like str = "aaAaAa".

  • Custom User Avatar

    I do not know what language to check. I do not know what is the problem I should fix. I do not know the code which fails. I am sorry, but with this amount of details I have no information required to apply a fix.

    Closing the issue as inactionable due to insufficient details.

  • Custom User Avatar

    I have tried to solve it multiple times with different code and none of it works on the Random Tests, but when I run it on VSCode it works perfectly even using some of the examples provided on the Random Tests.

  • Custom User Avatar

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

  • Custom User Avatar

    Полностью с тобой согласен

  • Custom User Avatar

    Хороший уровень но достаточно простой для 6 каты

  • Custom User Avatar

    While starting with an uppercase letter is not technically against the definition of camelcase, it is usually understood to strictly start with a lowercase letter.

    If it starts with a capital letter and follows the other conventions of camelcase, it's called Pascal case.

    i.e.: thisIsCamelCase and ThisIsPascalCase.

  • Custom User Avatar

    The worst solution is to mutate the original data.

  • Custom User Avatar

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

  • Custom User Avatar

    this was a really fun one! :D

  • Loading more items...