+ 1
need help with my BMI calculator
weight = int(input()) height =float(input ()) BMI= weight / (height)**2 if BMI < 18.5: print ('Underweight') elif(BMI <=18.5 and BMI > 25): print("Normal") elif(BMI <= 25 and BMI > 30): print("Overweight") else: print("Obesity")
2 Antworten
+ 2
got the answer
weight = float(input())
height =float(input ())
BMI= weight / (height)**2
if BMI < 18.5:
print ('Underweight')
elif(BMI >=18.5 and BMI < 25):
print("Normal")
elif(BMI >= 25 and BMI < 30):
print("Overweight")
else:
print("Obesity")
+ 1
if BMI < 18.5
elif BMI < 25
elif BMI < 30
else