Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Hmmm solution in Creative category for Three Points Circle by ale1ster
from re import sub as s
def checkio(data, frmt='(x{:+.3g})^2+(y{:+.3g})^2={:.3g}^2'):
(p, q, r) = eval(s(r'\((\d+),(\d+)\)', r'\1+\2j', data))
c = (lambda w: (-1j)*(p-q)*(w-abs(w)**2)/(2*w.imag)-p)((r-p)/(q-p))
return frmt.format(c.real, c.imag, round(abs(c+p), 2))
July 20, 2014