bmi = weight/height*height if bmi < 18.5: print('thin') elif bmi < 25: print('normal') elif bmi < 28: print('heavy') elif bmi <= 32: print('fat') else: print('fattest')
Sign in to make a reply
孤独七匹马
bmi = weight/height*height if bmi < 18.5: print('thin') elif bmi < 25: print('normal') elif bmi < 28: print('heavy') elif bmi <= 32: print('fat') else: print('fattest')