0
What's problem with my BMI calculator code,please give me a explanation as complete
weight = float(input()) height = float(input()) BMI = (weight/(height**2)) if (BMI < 18.5): print("underweight") elif (BMI >= 18.5) and (BMI < 25) : print("normal") elif (BMI >= 25) and (BMI < 30): print("overweight") elif (BMI >= 30) : print("obesity")
2 Answers
+ 2
Christopher Bernard
There is a simple issue.
Capitalize all strings inside print function.
0
avoid posting duplicate thread: I already have given the issue your facing in your previous one:
https://www.sololearn.com/Discuss/2832430/?ref=app
Also, on another problem I give you the same answer about capitalization, you said it doesn't work and just know you said to another one saying the same thing that you understand your mistake now :o