weight,height=map(float,input("输入体重,身高").split()) bmi=weight/height**2 if bmi<18.5 or bmi>23.9: print("你的BMI不正常!") else: print("你的BMI正常。")