python简易BMI测体重 代码如下,望对你有用 height=float(input("请输入你的身高(单位为米):")) weight=float(input("请输入你的体重(单位为千克):")) bmi=weight/(height*