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.
Since you are working in Python make sure you are interpreting the error message correctly:
When you see "EXPECTED abc TO EQUAL xyz", it means that your code is returning abc while the correct answer is actually xyz.
Also the error message appears below the input that it fails on, so if you are outputting/printing stuff to console (which your current code is) make sure you read correctly which input it is failing on:
read this if you need more details:
troubleshooting
The left string is what your code is returning, the right string is the expected/correct answer.
The mistake - easy to miss! - is that there is a trailing whitespace in your code:
'hello ' != 'hello'
No because as it says in the kata description:
cycle(22) = -1 since 1/22 ~ 0.0 45 45 45 45 ...
that first zero means it doesn't qualify.
No
Print the input yourself.