0
Can anyone please tell me why the code for BMI calculator doesn't give an output for the second test?
height=float(input()) weight=float(input()) x=weight/height*height if x<18.5: print("Underweight") elif x>=18.5 and x<25: print("Normal") elif x>=25 and x<30: print("Overweight") else: print("Obesity")
4 Answers
+ 2
Thank you so much ravilnicki
+ 1
https://www.sololearn.com/discuss/2969758/?ref=app
I did write the code you can check it