Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
@rowcased and @BobtheLantern, thank you! your comments allowed me to complete the kata!
The assertion message says
'consecutive CApitals' should equal 'consecutive C Apitals'
That means your function returned
consecutive CApitals
, but it should have returnedconsecutive 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.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
andA
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.
Your solution returns wrong answer for inputs like
str = "aaAaAa"
.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.
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.
This comment is hidden because it contains spoiler information about the solution
Полностью с тобой согласен
Хороший уровень но достаточно простой для 6 каты
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.
The worst solution is to mutate the original data.
This comment is hidden because it contains spoiler information about the solution
this was a really fun one! :D
Loading more items...