Porfavor corregir este ejercicio | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Porfavor corregir este ejercicio

Es de python peso = float(input()) altura = float(input()) imc = peso/altura**2 if imc < 18.5: print("Underweight") if imc >= 18.5 and imc <= 24.9: print("Normal") if imc >= 25.0 and imc <= 29.9: print("Overweight") if imc >= 30: print("Obesity")

1st Dec 2022, 5:32 PM
Usuario de Google
Usuario de Google - avatar
2 Respuestas
+ 3
Imagina q sucede si imc es igual a 24.95, es normal o overweight? o a 29.95
1st Dec 2022, 5:43 PM
Arturop
Arturop - avatar
0
Ok, gracias
1st Dec 2022, 5:44 PM
Usuario de Google
Usuario de Google - avatar