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.
check this
This comment is hidden because it contains spoiler information about the solution
A beter pratice is to remove else and use a early return
I have the same problem, the sample test passes and all other fails.
This comment is hidden because it contains spoiler information about the solution
The example test and
example_secret
is only there for you to test your code, not for actual testing ;-)Why
return globals[example_secret]
passes the first test but fails all random tests?So what? They submitted it in a different version, nothing wrong with that.
Python solutions do not work under all 3 versions (2.7.0, 3.4.1 and 3.6.0).