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