height = 1.75 weight = 80.5 bmi = weight/(height*height) if bmi<18.5: print('light') elif bmi<25: print('normal') elif bmi<32: print('obese') else: print('severely obese')
Sign in to make a reply
必须打断腿
-- coding: utf-8 --
height = 1.75 weight = 80.5 bmi = weight/(height*height) if bmi<18.5: print('light') elif bmi<25: print('normal') elif bmi<32: print('obese') else: print('severely obese')