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.
user solution now gets copies of p1 and p2.
Oops, sorry. Should be fixed, user solution now gets a copy of p1 and p2.
Ok, you're right, if pep8 tells me to use snake_case I will, so I fixed those two names.
I removed the restricion of the math library, but I find out the kata can be solved almost completely with builtin modules I will still have to find a way to ban it.
Of course it can be bypassed, but I guess you saw the test cases implementation, nevertheless one can always cheat.
Should be resolved, I made the functions the solution uses local, I guess that's what you meant.
Thanks for showing me you can multiply arrays like that
No, there is no real benefit besides the fact that it is shorter and fun to try.
In my opinion one liners should only be used if they improve readibility by making trivial code take up less space.
But in this case it is better to split it up in like 4 or 5 lines.
Best solution, all others don't make the trans in advance
This comment is hidden because it contains spoiler information about the solution
Very clean and short but readably good job, I wished my solution was that beautiful.
Very nice series!
Brilliant
Oh it's called pvariance what I was looking for, thanks!
make this 6kyu instead of 5, it's way too easy
This comment is hidden because it contains spoiler information about the solution
Loading more items...