Discuss / Python / 练习

练习

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

  • 1

Reply