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.
The original author doesn't seem to be around, but I've forked this translation such that
Almost done, thumbs up on the edge case and small & large input cases, but still needs a big modfication
aspect_ratio
asuser_solution
, it's confusingand some minor modifications :) ~~
Remove the multiple spaces after
from solution import...
and leave one space will doRemove the
performance testing
&correctness testing
init
block as this is not a performance kataRemove the
return [x, y]
in the initial solution as that is misleading (at least ~~)Thank you for the link!
I'm still new to codewars tests so please let me know if I messed something up very badly!
Increase number of random tests to 100
Python new test framework should be used -> refer this
First translation attempt. Just tried to update to v2 testing framework and make things a little more PEP8.
Please let me know if there's anything I could fix!