Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for The Angles of a Triangle by u2ezi
import math
def checkio(a, b, c):
return [0,0,0] if sum((a,b,c)) <= max(a,b,c)*2 else sorted([
int(round((math.degrees(math.acos((b*b+c*c-a*a)/2./b/c))))),
int(round((math.degrees(math.acos((a*a+c*c-b*b)/2./a/c))))),
int(round((math.degrees(math.acos((a*a+b*b-c*c)/2./a/b)))))])
Nov. 1, 2016