怎么做?这样不对?python3

bcm18 2021-08-24 21:23:05 2024-01-29 19:08:01 5
A,B,C = map(float,input().split())  #0<A,B,C<100.0
X = A+B*C/2
Y = A+B+C
if A+B>C and A+C>B and C+B>A or C-B<A and C-A<B and A-B<C and A-C<B and B-A<C and B-C<A:
    print('Perimetro =',format(Y,'.1f'))
else:
    print('Area =',format(X,'.1f'))
{{ vote && vote.total.up }}

共 3 条回复

root 站长

我帮他打了。

root 站长

我帮他打了。

lyh098 仙辞

你打了前面吗??????????????????!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!