Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Clock Angle by fed.kz
def clock_angle(time):
hours, minutes = map(int, time.split(':'))
if hours >= 12: hours -= 12
delta = abs(hours * 30 - minutes * 5.5)
return min(delta, 360 - delta)
Sept. 28, 2018