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.
Thanks.
Here is a python translation.
I made a python translation.
Sorry for the late response. I haven't been on codewars in a while. 'Hello' and 'hello' are not duplicates. One is capitalised and one isn't.
Thank you.
Change the loop from in to of because in goes through the indexes and of goes through the items like you wanted. Also add a let.
Nice kata! I like LOTR so I really enjoyed this one.
The instructions seem quite clear to me.
There are 2 mistakes. The first happens when the first character of the string is '(' as char_index is still 0. The second happens because items in the text_to_delete list appear later in the list.
python translation
Ok I understand now. Thank you.
I understand that but what was bad about the kata itself? Was there something wrong with the tests?
Thank you.
Do you know why the kata has been retired? Nobody has given any feedback other than you.
I assume they are doing python as that is the language I can see their solution for. I looked at their code and their solution is just wrong. I made the python version myself as well so I can be even more sure that the tests are ok.
Loading more items...