Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Sun Angle by gyahun_dash
def sun_angle(time):
h, m = map(int, time.split(':'))
if h < 6 or (h, m) > (18, 0) :
return "I don't see the sun!"
else:
return 15 * (h - 6) + m / 4
Oct. 27, 2019
Comments: