0
Please guys help me on making BMI calculater
This was my code help me to fix bugs please weight = int(input()) height = float(input()) BMI = weight/height**2 if BMI < 18.5: print("Underweight") if BMI >= 25 and BMI < 30: print ("Normal") if BMI >30: print ("Obesity")
4 Antworten
+ 3
"Normal" when BMI is Between 18.5 to 25
And "Overweight" when Bmi >= 25 and  less than 30. Missing this ...
0
weight = int(input("Enter Weight: "))
height = float(input("Enter Hight: "))
BMI = weight/height**2
if BMI < 18.5:
  print("Underweight")
elif BMI >= 25 and BMI < 30:
  print("Normal")
elif BMI >30:
  print("Obesity")
0
Your Code
weight = int(input())
height = float(input())
BMI = weight/height**2
if BMI < 18.5:
  print("Underweight")
if BMI >= 25 and BMI < 30:
  print ("Normal")
if BMI >30:
  print ("Obesity")
          ^
# Don't Use Space Between print and ()
0
weight = int(input("Enter Weight: "))
height = float(input("Enter Hight: "))
BMI = weight/height**2
if BMI < 18.5 and BMI > 25:
  print("Normal")
elif BMI >= 25 and BMI < 30:
  print("Overweight")
elif BMI >= 30:
  print("Obesity")




