PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
height = float(input())
weight = float(input())
WQ = height // weight ** 2
if (WQ < 18.5):
print('Underweight')
elif (WQ >= 18.5) and (WQ <= 24.9):
print('Normal')
elif (WQ >= 25) and (WQ <= 29.9):
print('Overweight')
elif (WQ >= 30):
print('Obesity')
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run