- 1

weight = flaot(input()) height = flaot(input()) bmi = weight/(height**2) if bmi < 18.5: print('underweight') elif (bmi >= 1

This My Problem helppppp aaaaaaaa

20th Aug 2022, 8:11 PM
Youssef Hakki
Youssef Hakki - avatar
3 Respostas
+ 1
Don't wait around for answers. Use the search feature type BMI. You will find many solutions.
20th Aug 2022, 8:21 PM
Chris Coder
Chris Coder - avatar
+ 1
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") elif BMI >= 30: print("Obesity")
20th Aug 2022, 8:25 PM
Sreeju
Sreeju - avatar
+ 1
Please don't put code in the title section – it gets cut off and we can read it. Check your spelling of float() and the output strings. They need to match exactly the ones in the task description. Please tag the relevant programming language instead of "psycho" and "vdgf" https://www.sololearn.com/Discuss/3075293/?ref=app
20th Aug 2022, 8:32 PM
Lisa
Lisa - avatar