求助,第一次遇到RE,百度也没找到解决方法
查看原帖
求助,第一次遇到RE,百度也没找到解决方法
1292829
l1748002744楼主2024/2/29 22:42

triangle = input().split() a = int(triangle[0]) b = int(triangle[1]) c = int(triangle[2]) p = (a + b + c) / 2 out_2 = p * (p - a) * (p - b) * (p - c) out = pow(out_2, 0.5) print("{:.1f}".format(out))

2024/2/29 22:42
加载中...