Discuss / Python / first

first

Topic source

hcie_zpc

#1 Created at ... [Delete] [Delete and Lock User]
bmi = weight / (height**2)
if bmi > 32:
    print('overfat')
elif bmi >= 28:
    print('fat')
elif bmi >= 25:
    print('overweight')
elif bmi >= 18.5:
    print('normal')
else:
    print('overlight')

  • 1

Reply