Python求助
查看原帖
Python求助
682843
LuXiming_ing_ing楼主2022/7/6 18:41
a = input().split()
m,h = float(a[0]), float(a[1])
b = m / h ** 2
if b < 18.5:
    print('Underweight')
if 18.5 <= b < 24:
    print('Normal')
else:
    print('%.6g' % b)
    print('Overweight')

第三个测试点WA,其他都是AC

2022/7/6 18:41
加载中...