+ 1
BMI project
height = float(1.85) weight = float(52) result = (weight / height**2) if result < 18.5: print("Underweight") if 18.5 <= result <25: print("Normal") if 25 <= result <30: print("Overweight") if result > 30: print("Obesity") Is there anything wrong? I can t pass it
4 odpowiedzi
+ 3
Hi! Don't hard code variables "weight" and "height". This is input data. And it will be variables five times
+ 2
float(input) --->>> float(input())
+ 1
then I also made a little mistake in my mind
0
all the same, the program will still not work, since not all errors have been found yet