Program that interprets the Body Mass Index (BMI) based on a user's weight and height.
height = float(input())
weight = int(input()) BMI = weight/(height*height) if BMI<18.5: print(f"Your BMI is {BMI}, you are underweight.") elif 18.5<=BMI<25: print(f"Your BMI is {BMI}, you have a normal weight.") elif 25<=BMI<30: print(f"Your BMI is {BMI}, you are slightly overweight.") elif 30<=BMI<35: print(f"Your BMI is {BMI}, you are obese.") else: print(f"Your BMI is {BMI}, you are clinically obese.")