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.
If you copy and paste the block of code I suggested into the end of the Test Cases (not the Sample Test Cases), that should be enough.
You might want to include a randomized test similar to:
I weighted the distribution of characters, but you could probably simplify that.
Awesome! Thank you Cliffstamp. Is it live or do I have to "approve" it somehow?
This comment is hidden because it contains spoiler information about the solution
I don't see how that helps with a scoping issue.
"NameError: global name 'stack' is not defined" < This completely obviates doing an object-oriented solution in Python.
I finally got a moment to update with the suggestions.
Ooh. Good advice. I'll get started on a revision to take your suggestions into account. Thanks!
Got it. This should be fixed now. I think. (first kata published)