0

Need help with IMC calculator

Hi! Its the last one exercise i have to complete. It give me one error. I dont find the problem. Someone can help me? peso = int(input()) altura = float(input()) IMC = peso / (altura**2) if IMC < 18.5: print("Underweight") elif IMC >= 18.5 and IMC < 24.9: print("Normal") elif IMC >= 24.9 and IMC <= 29.9: print("Overweight") else: print("Obesity")

19th Aug 2022, 1:34 AM
David Fernandez Comesaña
David Fernandez Comesaña - avatar
2 Antworten