height=float(input('height?')) weight=float(input('weight?')) bmi=weight/height/height print('your bmi=%.2f'%bmi) if bmi<18.5: print('Yeah~ slim') elif bmi<=25: print('not bad') elif bmi<=28: print('kind of fat?') elif bmi<=32: print('fat') else: print('OMG~~fucking fat')
Sign in to make a reply
skysmine
height=float(input('height?')) weight=float(input('weight?')) bmi=weight/height/height print('your bmi=%.2f'%bmi) if bmi<18.5: print('Yeah~ slim') elif bmi<=25: print('not bad') elif bmi<=28: print('kind of fat?') elif bmi<=32: print('fat') else: print('OMG~~fucking fat')