Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Step by step solution in Clear category for Sun Angle by ludek.reif
def sun_angle(time):
hours, minutes = (int(x) for x in time.split(':'))
angle = ((hours-6)*60 + minutes) / 720*180
return angle if 0 <= angle <= 180 else "I don't see the sun!"
Sept. 18, 2019
Comments: