Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
There and back again solution in Scary category for Clock Angle by veky
def clock_angle(time):
from cmath import rect, phase
from math import radians, degrees
h, m = map(int, time.split(":"))
return degrees(abs(phase(rect(1, radians(30 * h - 5.5 * m)))))
Oct. 29, 2014
Comments: