Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clock Angle solution in Clear category for Clock Angle by vinc
def clock_angle(time):
hours, minutes = map(int, time.split(':'))
hour_hand = 360 / 12 * (hours % 12) + 360 / 12 / 60 * minutes
minute_hand = 360 / 60 * minutes
return 180 - abs(180 - abs(hour_hand - minute_hand))
Oct. 29, 2014
Comments: