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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
a game developer
[start:stop(not but not including): step] so str(string)[::-1] gives every character of the string by step -1, thus backwards.
It is mentioned. Several times.
the second example demonstrates it
there would also be no need to mention word if it was the string-index
the tests demonstrate it
this point is not mentioned to completely understand the question.
Can you elaborate what's the problem? 7000+ users solved it in python, so IDK what you see wrong that they didn't.
The test cases for the Python language are not correct. Please fix them.
These do not follow the actual statement written on the question.
It's a way in Python to reverse a value, so basically it's doing a boolean evaluation (True/False) against whether the string values are the same forward and backwards, a.k.a a "Palindrome".
https://docs.python.org/3/library/functions.html#slice
Can you please explain what is [::-1] doing ?