You are viewing a single comment's thread. Return to all comments →
Python 3
def towerBreakers(n, m): return (1, 2)[not (n % 2) or m <= 1]
Seems like cookies are disabled on this browser, please enable them to open this website
Tower Breakers
You are viewing a single comment's thread. Return to all comments →
Python 3