title: Python: closest coordinate?
body: <p>I need help with a function that returns coordinate from a list of coordinates, that's closest to some point. For example: <code>closest((9, 2), {(0, 0), (10, 0), (10, 10)}) returns (10, 0)</code>.</p>