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.
let's try this one:
your code says (twice) if i[2] == "Y": etc...
but... some cards would be at i[3], because the player's number has 2 digits
so a card such as "A11Y" - you would consider it as red...
hope it does it - close the question if it does :-)
This comment is hidden because it contains spoiler information about the solution