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.
cuz "C" appears twice (once in camel, and another in case) so ur code substitutes it twice (replace will replace all occurrences, read https://www.w3schools.com/python/ref_string_replace.asp . hope this helps !
I just solved this kata in Python to see what's going on - I wrote everything myself, no imports, and it works fine.
However there are 1-2 tests which are a bit "unexpected" for a 7 kyu: it's not mentioned in the Description, but you need to handle cases where input is not a
string
.To troubleshoot and understand what I'm saying here, you can print the input that the tests are using: to do this, type:
then in console you'll be able to see which inputs you are failing on.
No example, no proof... Are you aware this is a pointless message?