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