PY
py
1
2
3
4
5
6
7
8
9
10
11
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")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run