You are viewing a single comment's thread. Return to all comments →
python3
def catAndMouse(x, y, z): return "Mouse C" if abs(z-x) == abs(z-y) else f"Cat {'A' if abs(z-x)<abs(z-y) else '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 →
python3