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.
looks like you passed the kata. did you ever figure out why it previously only worked on your IDLE?
But when i run my code in IDLE everything is fine and i get the result i want
if you get
IndexError
when codingresult[0]
it's becauseresult
is empty(Python)
I have passed 5 tests and 0 failed, but when I tried to return result[0] (result is a list where i have my final solution) an error occurred:
IndexError: list index out of range
I don't really understand what is my mistake..