# 几个变量?bmi,height,weight height = float(input("请输入身高(cm):")) weight = float(input("请输入体重(kg):")) bmi = weight/(height**2) print(height,weight,bmi)