clear solution in Clear category for Sun Angle by flpo
h, m = map(int, time.split(':'))
t = ((h-6) * 60 + m) / 4
return t if 0 <= t <= 180 else "I don't see the sun!"
May 19, 2018