# bmi.py # YOUR NAME(S), DATE # solution must be above this comment # do not change any part of the code below def main(): height = float( input("enter height in inches: ") ) weight = float( input("enter weight in pounds: ") ) bodyMassIndex = bmi(height, weight) bmiCat = category(bodyMassIndex) allCats = ['Underweight','Normal','Overweight','Obese'] if bmiCat in allCats: print("BMI is {0:.1f}: {1}".format(bodyMassIndex, bmiCat)) else: print ("Category error:",bmiCat,'\n must be one of ',allCats) main()