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
Sample test still uses old classifications naming.
To match the description, 'N' should be 'C1', 'M' should be 'D1'.
Fun, some basic numeracy :)
I think I managed to pass by overflowing the buffer, huh
Tests in Python could use some improvements. They are structured quite poorly, no good distinction into test groups, fixed tests, random tests, etc.
It is not specified what should happen if the same character is guessed again.
Initial code is invalid: it should be
self.secret
instead ofHangman.secret
, etc. They should not be class variables.Done
Could use tags:
Probability
,Combinatorics
This kata blew my mind. 5 stars
I've expanded the description if it helps. It feels too elaborate, so you're welcome to trim it down.
Fixed
Authoring Python Content: "The reference solution or data must not be defined in the Preloaded code. The reference solution must not be defined in the top-level scope of the test suite."
Please copy
verify
from Preloaded code into thetest_random()
function.test_example()
can be removed from Test Cases. It is fine to keep the existing Preloaded code for running Sample Tests.Well, you were using preloaded function
scrambled
, which internally usesunicodedata
. Without proper understanding of what that does, it's kind of hard to imagine what you yourself should do. But this kata is very strange either way...Loading more items...