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
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks, for some reason I thought that everybody has the same power :D
They don't have the same power, that's why left wins.
In case of fight = "wq" the result should be "Left side wins!" by the test. Why is that? Shouldn't it be "Let's fight again!" since w goes for the left team and q goes for the right?
This comment is hidden because it contains spoiler information about the solution
I'm also getting confused. As I know changing a variable's value in a function doesn't affect the variable outside of the scope. For that we use the global command.