0
What is fault in BMI calculator
I need to submit it as test https://code.sololearn.com/c63K4TUE819w/?ref=app
2 Réponses
+ 1
x=float(input())
s=float(input())
z= x/(s*s)
if z<=18.5:
print("Underweight")
elif z>=25 and z<30:
print("Overweight")
elif z<25 and z>=18.5:
print("Normal")
elif z>=30 :
print("Obesity")
+ 1
There were spelling mistakes present in the code and the case of upper and lower case