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.
From the docs: https://docs.codewars.com/training/troubleshooting#your-solution-seems-to-work-or-is-close-to-working-but-still-fails-tests
This is not true and your oslution has a bug because it uses global variables.
all random tests return an incorrect result, although I have checked my code in another compiler and it returns the correct answer with these values
of the "number" parameter. (python)