题解 | #计算三角形的周长和面积#
计算三角形的周长和面积
http://www.nowcoder.com/practice/109a44d649a142d483314e8a57e2c710
海伦公式
side = [int(i) for i in input().split()]
a, b, c = side
circl = sum(side)/2
mi = circl*(circl-a)*(circl-b)*(circl-c)
S = pow(mi, 0.5)
print("circumference=%.2f area=%.2f" % (circl*2, round(S, 2)))