Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Sun Angle by vnkvstnk
def sun_angle(time):
h, m = [int(x) for x in time.split(":")]
if (h >= 18 and m) or h < 6:
return "I don't see the sun!"
return 15 * (h-6) + 0.25 * m
May 27, 2019
Comments: