Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Clock Angle by Moff
def clock_angle(time):
h, m = map(int, time.split(':'))
a = abs(30 * (h % 12) - m * 5.5)
return min(a, 360 - a)
July 28, 2015