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.
Thanks for the suggestions! I've changed the return type to
tuple[int, int]
and updated the descriptionOh I see another thing, in Python, you may expect a
Tuple
or anyIterable
with exactly 2 elements, instead of aList
I would make one more change.
=>
Thanks for the feedback! I included the fixed tests, and added some logic in preload section to stop users from importing some modules. Let me know if you have other recommendations before publishing
I'm also wondering whether we should disable some modules (Fraction, math, numpy, scipy, ..)
You forgot to add sample tests
My testing does not support this assertation.
It is usually a little faster, but sometimes slower.
(I did not find a case where it was more than a few % faster.)
why?
Wow, you beat me with 4 days.
If you hadn't made a translation, I would have.
If the author doesn't approve this one, I will. Not sure if that is 'best practice', but hey: maybe he is having a vacation. I'll give him a few more days.
Easy to read
done
This comment is hidden because it contains spoiler information about the solution