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.
You dont need to paste your solution here because we know it is not right, and we know what is wrong with it. Run your solution in your PyCharm twice, like this:
and see what is the result. (edit: fixed the example)
Yes, because you only run one test at once. Try running a test which expects
True
and directly afterwards (next code line) a test which expectsFalse
.Your solution will not work when run twice in a row.
is your code failing all the tests?