Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Ore In The Desert by juestr
from math import hypot
def checkio(previous):
return next([x, y]
for x in range(10) for y in range(10)
if all(round(hypot(x-px, y-py)) == d for px, py, d in previous))
April 1, 2020