Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Sun Angle by rybld2
def sun_angle(time):
liste = time.split(':')
if int(liste[0]) < 6 or int(liste[0]) > 18 or (int(liste[0]) == 18 and int(liste[1]) != 0):
res = "I don't see the sun!"
else :
res=(int(liste[0])-6)*15+15*(int(liste[1]))/60
return res
Dec. 30, 2020
Comments: