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.
.
..
@vatsan just saw your solution I wanted my solution to be like yours but don't know how I end up writing this..
and also why the hell I m using mk = True when i could have just use continue..instead.... lol xD thanks anyways...
yeah thanx @vatsan
--delete--ignore
1st guy to put card in middle is Flash then turtle will put card in middle if it matches with flash card whoever says snap first wins( its always going to be flash) and all the card in middle will be given to flash (appended in flash pile hence now middle has been reset ie no card in middle) if flash and turtle card does'nt matches then flash is going to put card on top of last card in middle if it still doesn't matches turtle will put the card..nd so on..
I can't see any snap here, but it expects 2. How come?
Test.assertEquals(snap([ '3','K','5','A','5','6','7','J','7','9','10','Q','Q','6','8','7','4','J','8','9','K','J','10','4','K','4' ],
[ '2','8','9','Q','A','K','6','3','J','2','4','3','3','8','A','2','6','7','9','10','A','5','Q','10','2','5' ]),2)
@fatherJS .. Well
Hi, can anyone tell me how to contribute to the kata, e.g.: correct translations or misspellings?
That or he gets paid by lines of code.
I specially like the
break
after thereturn true
line... xDIs this a joke ;-)?
What does span as argument mean? Please give me an example...