Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Sun Angle by David_Jones
def sun_angle(time):
hh, mm = map(int, time.split(':'))
minutes = 60 * hh + mm
if 359 < minutes < 1081:
return round((minutes - 360) / 4, 2)
return "I don't see the sun!"
May 2, 2019