Discuss / Python / 作业

作业

Topic source
height = 1.75weight = 80.5BMI=weight/(height**2)print(BMI)if BMI <18.5:    print('too light')elif BMI >=18.5 and BMI <25:    print('normal')elif BMI >=25 and BMI <32:    print('little fat')else:print('too heavy')

  • 1

Reply