Discuss / Python / 作业

作业

Topic source

-Mr_Lu_____

#1 Created at ... [Delete] [Delete and Lock User]
在此插入代码

height = 1.75 weight = 80.5 bmi = weight/(height*height) if bmi < 18.5: print('guoqing') elif bmi < 25 and bmi >= 18.5: print('zhengchang') elif bmi < 28 and bmi >= 25: print('guozhong') elif bmi < 32 and bmi >= 28: print('feipang') else: print('yanzhongfeipang')


  • 1

Reply