0
BMI calculator for python assignment
Why doesn’t it work? #your code goes here weight = int(input()) height = int(input()) BMI = weight/height**2 print(BMI) if BMI < 18.5: print("Underweight") elif BMI >= 18.5 and BMI < 25: print("normal") elif BMI >= 25 and BMI < 30: print("Overweight") elif BMI >= 30: print("Obesity")
3 Respostas
+ 2
# try
weight = float(input())
height = float(input())
print ("Normal")
+ 1
Thank you bro :)