# _*_ coding: utf_8 _*_ a = input('身高:') b = input('体重:') height = float(a) weight = float(b) BIM = weight/(height*height) print(BIM) if BIM < 18.5: print('过轻'); elif BIM<=25: print('正常'); elif BIM<=28: print('过重'); elif BIM<=32: print('肥胖'); else: print('严重肥胖')
Sign in to make a reply
愚昧陈