Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Sun Angle by VerhovPetr
def sun_angle(time):
a = (60*int(time.split(':')[0])) + int(time.split(':')[1])
return (a-360)*0.25 if a in range(360,1081) else "I don't see the sun!"
Oct. 8, 2018
Comments: