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.
make more test case bro, I don't even know if my code work correctly
create your own trust me it pain but you learn how permutations work and how it generate.
nice kata
the goal is to create your own permutations function
just throw whatever error type,it will still passed
Thank you
respect
sorry late buddy;)
input test might not always upper and lower,that why else statement passed
does this have solution?
game_map = '''+------+
|......|
|BBB...|
|......|
|......|
|..BB..|
|......|
+------+'''
This is the board up to the winning move
The winning move is E_Red which completes a diagonal win that spans from the very bottom of column C to the 4th from the bottom spot of column F.
how is red is winner??
test.assert_equals(who_is_winner([
"F_Yellow", "G_Red", "D_Yellow", "C_Red", "A_Yellow", "A_Red", "E_Yellow", "D_Red", "D_Yellow", "F_Red",
"B_Yellow", "E_Red", "C_Yellow", "D_Red", "F_Yellow", "D_Red", "D_Yellow", "F_Red", "G_Yellow", "C_Red",
"F_Yellow", "E_Red", "A_Yellow", "A_Red", "C_Yellow", "B_Red", "E_Yellow", "C_Red", "E_Yellow", "G_Red",
"A_Yellow", "A_Red", "G_Yellow", "C_Red", "B_Yellow", "E_Red", "F_Yellow", "G_Red", "G_Yellow", "B_Red",
"B_Yellow", "B_Red"
]), "Red")
i think bro can't even solved his own kata,do you think this solvable for this input
40D3C4
bro you smart
you're probably reading your test output wrong and mixing up test cases. also the formatting in your post is messed up :x
Loading more items...