Commit 5aab51be by BellCodeEditor

save project

parent 6d18eced
Showing with 12 additions and 0 deletions
h=float(input("SB输入身高:"))
w=float(input("SB输入体重:"))
bmi=w/(h*h)
if bmi>=28:
print("肥胖")
elif bmi<=18.4:
print("偏瘦")
elif bmi>=18.5 and bmi<=23.9:
print("正常")
elif bmi>=24.0 and bmi<=27.9:
print("过重")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment