+ 3
Gabriel well you have some indentation problem All elif have to be of same indentation as if block Here's Your right code: x = int(input()) y = float(input()) BMI = x / (y**2) if BMI < 18.5: print("Underweight") elif BMI >= 18.5 and BMI < 25: print("Normal") elif BMI >= 25 and BMI < 30: print("Overweight") else: print("Obesity")
3rd Feb 2022, 5:46 AM
Hacker Badshah
Hacker Badshah - avatar
+ 2
Your code?
3rd Feb 2022, 4:47 AM
NEZ
NEZ - avatar
0
Next time try to show your code before asking for help
3rd Feb 2022, 8:16 AM
Jasy Fabiano
Jasy Fabiano - avatar
0
Gabriel 😊 My pleasure ✹
3rd Feb 2022, 5:01 PM
Hacker Badshah
Hacker Badshah - avatar