0
Codigo para hacer una app sobre el IMC
Translation: Code to make an app about the BMI
2 Answers
0
.
0
Este es el codigo:
This is the code:
weight = int(input())
height = float(input())
imc = weight/(height**2)
if imc < 18.5:
print ('Underweight')
if imc >= 30:
print ('Obesity')
elif imc >= 18.5 and imc <= 25:
print ('Normal')
elif imc > 25 and imc < 30:
print ('Overweight')
Saludos!
Best regards!