Discuss / Python / 交作业

交作业

Topic source

a=(weight) b=(height) bmi = int(a/b)*2 if weight<18.5: print('过轻') elif weight<25: print('正常') elif weight<28: print('过重') elif weight<32: print('肥胖') elif weight>32: print('严重肥胖')


  • 1

Reply