PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ваш код
ves = float (input())
rost = float (input())
imt = ves/rost**2
if imt < 18.5:
print ('Underweight')
elif imt >= 18.5 and imt <= 24.9:
print ('Normal')
elif imt > 24.9 and imt <= 29.9:
print ('Overweight')
elif imt > 29.9:
print ('Obesity')
#Underweight = lower 18.5
#Normal = 18.5 - 24.9
#Overweight = 25 - 29.9
#Obesity = 30 and higher
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run