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.
Sample tests
that was an issue in the tests. It should be good now (Just reload the page. Worst case: copy your code, then reset the trainer)
.
removed.
I got this error somehow
this line in the description is irrelevant since Python3
approved
tests require proper
@it()
/@describe()
blocks and explicit import oftest
andclass_name_changer
approved by someone
in the initial code,
class ReNameAbleClass(object):
is legacy from Python2 and should be changed to the more modernclass ReNameAbleClass:
python new test frameworks
Hi! I noticed that in your answer you also converted the letter
z
tos
, although I see no reason for this. I think the mistake is in this.The original sequence:
jdtqzbq
Correct sequence after conversion:
jdtpzbq
And the sum of the letters:
0 + -2 + 0 + 3 + -1 + 2 + -3 => -1
, thereforeRight side wins
I hope I helped you figure it out.
It seems you've missed that part in the description:
And please use the spoiler flag next time you post code.
This comment is hidden because it contains spoiler information about the solution
python new test framework is required. updated in this fork
Loading more items...