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.
would have been more elegant to just use reverse string slicing.
You're right
This comment is hidden because it contains spoiler information about the solution
I am an idiot. I was working in ipython and for some reason defined replace() instead correct().
Thanks for reply though :D
That's a problem with your code, is your function's first line like this?
Otherwise, either click reset or edit it.
In Python when I run my code for both sample test and attempt I get:
NameError: name 'correct' is not defined
I tried all samples in ipython and it works but cannot finish here due to this error.
New to this whole idea of codewars so pardon if asked but wasn't the goal to fix the bug, not rewrite the code?