Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
accurate code solution in Clear category for Sun Angle by katnic
def sun_angle(time):
hours = int( time.split(':')[0] )
minutes = int( time.split(':')[1] )
Union = ( hours * 60 + minutes - 360 ) / 4
return Union if 0 <= Union <= 180 else "I don't see the sun!"
Aug. 14, 2021