Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Two lines for clarity, one possible solution in Clear category for Sun Angle by Geeshta
def sun_angle(time):
hr, mn = map(int, time.split(':'))
return (hr-6)*15 + mn*.25 if hr in range (6, 18) or time == "18:00" else "I don't see the sun!"
Oct. 10, 2019
Comments: