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.
Okay, I take that back. Turns out the tests are even worse than I thought at first.
But, this changes nothing. You receive this error, because reference function returns
"Computer won!"
, so your algorithm is still incorrect.Your code is wrong, and returns a string instead of a number.
This comment is hidden because it contains spoiler information about the solution
Why res in square brackets?
This comment is hidden because it contains spoiler information about the solution