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.
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