You are viewing a single comment's thread. Return to all comments →
def catAndMouse(x, y, z): i,j= abs(z-x),abs(z-y) if i==j: return 'Mouse C' if i<j: return 'Cat A' else: return 'Cat B'
Seems like cookies are disabled on this browser, please enable them to open this website
Cats and a Mouse
You are viewing a single comment's thread. Return to all comments →