0
What is the test case 4 in BMI caliculation
I can't see that
5 Answers
+ 9
God's Will ,
some test cases are hidden - this prevents that people just code to pass the test cases.
to get help from the community, please link your code here.
thanks!
+ 4
Thank you for your kind reply! I successfully completed the coding and got the result.
+ 2
Lothar
đđ
+ 1
Gotta post your code
0
#here is my code and i cannot pass cases 4&5, nor do i know what those cases are looking for, they are locked
weight = int(input())
height = float(input())
BMI = weight / height**2
if BMI <= 25:
print("Underweight")
elif BMI >=18.5 and BMI <= 25:
print("Normal")
elif BMI >= 25 and BMI <=30:
print("Overweight")
elif BMI >= 30:
print("Obesity")