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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Whoops, didn't mean to submit this in this state. It fails for the input
0
, but sticking in theConsole.WriteLine(n)
caused it to start a new test run which happened to not include0
. I thought I was attempting when I was actually submitting final. My other solution does not have this flaw.Oh stink, I didn't realize this is on Python 2. I would have used xrange had I known that.