Discuss / Python / 233

skysmine

#1 Created at ... [Delete] [Delete and Lock User]

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')


  • 1

Reply