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.