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.
You can print with flush enabled to see your statements, even when timing out.
read the docs.
If your solution times out then you can't see any output, including print("Hello") etc. so you have no idea which test(s) you're timing out at or which part of your code the timeout occurs at. That sucks. FIX IT please :)
The comma operator makes age,handicap a tuple to Python. The parenthesis make it a tuple to everyone else.
hmm okay, I'll wait a bit I guess. :]
It should be rather OK to approve if the feedback from solvers is clear. Satisfaction votes ar unanimous at 100% which is great, but rank votes seem to be not that uniform.
Excluding the author, only 3 different people have completed this kata. Should I wait a little before approving it or...
thank you!
as a person who averages sub-20 on a rubik's cube, this was the most tedious yet rewarding kata that I have successfully completed. I would highly recommend this puzzle, whether you can solve a cube or not to anyone on this platform, as this is absolutely phenomenal.
Thank you, cbg342 for creating this.
- goldenratio161
P.S. for those in here looking for a hint, try searching up different methods, as some might be easier to implement than the others.
And thanks, I approved your fork :)
This should be fixed already. I did a republish and then another one shortly after that after I realized this.
Oops, didn't think that, my bad.
@cbg342, just made a fork that fix the decorator thing. :)
warning: the assertions should always be done inside such a kind of decorator. So maybe this is not the right move, here (note: I have no clue about how the tests are written, so I'm just pointing at the fact).
Please double-check before closing issues.
You still print logs in full tests when the user's answer is correct.
You should use one assertion per batch:
All batch tests pass =>
test.pass_()Encounter the first failed test =>
test.fail(msg)andreturnAlso, you should remove the
test.itdecorator in random tests because it's verbose.Thank you, I've added these changes.
Loading more items...