Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
second solution in Clear category for Sun Angle by ndj_ys
def sun_angle(time):
ans = (180 * ((int(time.split(":")[0]) - 6) * 60 + int(time.split(":")[1])) / 720)
return ans if 0 <= ans <= 180 else "I don't see the sun!"
Aug. 27, 2018