You are viewing a single comment's thread. Return to all comments →
Solution in python 3.x:
def gameOfStones(n): if ( n%7==0 or (n-1)%7==0 ): return("Second") return("First")
Seems like cookies are disabled on this browser, please enable them to open this website
Game of Stones
You are viewing a single comment's thread. Return to all comments →
Solution in python 3.x: