+ 1
I am at the BMI calculator practice and I been struggling with It so what's actually Rong with My cod
weight=int(input()) height=float(input()) bmi= float (weight/height**2) if bmi<float(18.5): print ("Underweight") elif float(18.5)<=bmi<25: print ("normal") elif 25<=bmi<30: print ("Overweight") elif bmi>30: print ("Obesity")
2 ответов
+ 2
'normal' must be capitalized: 'Normal'...
also, you doesn't need to use float elsewhere than for height input ^^
0
Thank you so much it works (◍•ᴗ•◍)❤