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.
Line 8 is erroring because word[x+1] is out of bounds
Your function should return, not print the result.
This comment is hidden because it contains spoiler information about the solution
Mark your post as having spoiler content next time. Without markdown formatting Python code is specially hard to read when indentation is removed.
The error is pretty self-explanatory, inside your loop, you're trying to access an index that doesn't exist. Adjust your code.
This comment is hidden because it contains spoiler information about the solution