九州体育网 - 十年信誉网站

关于作者

Discuss / Python / test

Mr灬Marko

#1 Created at ...

height = 1.75;

sto = 80.5;

bmi = int(sto / (height ** 2))

if bmi < 18.5: print('过轻'); elif bmi > 18.5 and bmi <= 25: print('正常'); elif bmi > 25 and bmi <= 28: print('过重'); elif bmi > 28 and bmi <= 32: print('肥胖'); else: print('严重肥胖');


  • 1

Reply

WARNING: You are using an old browser that does not support HTML5. Please choose a modern browser (Chrome / Microsoft Edge / Firefox / Sarafi) to get a good experience.