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.
This comment is hidden because it contains spoiler information about the solution
can someone explain it?
One of the best!
Absolutely.
args[0:2] = ...
changes contents of args;args = ...
reassigns local variable.You mean I am dealing with args as a local variable and reassigned it with a new value instead of changing its actual content right?
Because you don't change args in place, you reassign it with the new value.
why it doesn't work when I just say:
args = args[::-1]
This comment is hidden because it contains spoiler information about the solution
they probably thought it was pass by reference not by value
I like this one
i rewrote the random list generation function. hopefully this should not happen anymore
yes, this kata only asked to fix the bug in the code. not rewrite the entire code.
Evacuate the city, engage all defences and get this man a medal
this is literally not the purpose of this ex I guess
Yes, it's from 2013... (see "details")
Loading more items...