测试bmi
def fun_bmi(people,height,weight):
bmi = weight/height**2
if bmi >23.9:
print('{}的bmi是{},超重了',format(people,bmi))
elif bmi <18.5:
print('{}的bim是{},太轻了',format(people,bmi))
else:
print("{}的bmi是{},正常范围".format(people,bmi))
fun_bmi()