python求解
查看原帖
python求解
476733
Corrbin楼主2021/1/26 15:12
m,h = map(float,input().split())
BMI = m/h**2
if BMI < 18.5:
    print('Underweight')
elif BMI>=18.5 and BMI<24:
    print('Normal')
else:print('{:.6g}\nOverweiht'.format(BMI))
2021/1/26 15:12
加载中...