Python求助帖,求大佬指点
查看原帖
Python求助帖,求大佬指点
657538
ftf123456楼主2022/1/2 13:07

a=input().split() m,t=float(a[0]),float(a[1]) h=m/t**2 if h<18.5: print('Underweight') if 18.5<=h<24: print('Normal') else: print('%.6g'%h) print('Overweight')

2022/1/2 13:07
加载中...