I want to solve the bmi calculator plaise guys help me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to solve the bmi calculator plaise guys help me

Coding

20th Aug 2022, 8:08 PM
Youssef Hakki
Youssef Hakki - avatar
2 Answers
+ 1
Hi! Please, show us your attempt!
20th Aug 2022, 8:08 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
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:26 PM
Sreeju
Sreeju - avatar