0
Why is that it doesn't work
Calculating bmi #your code goes here height = float(input ()) weight = 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') else: print ('Obesity')
3 Answers
+ 9
Because you posted the same question 4 times. That's why it doesn't work
https://www.sololearn.com/discuss/2866371/?ref=app
https://www.sololearn.com/discuss/2866373/?ref=app
https://www.sololearn.com/discuss/2866372/?ref=app
+ 2
Ismael Wesa
You have reversed the order of your inputs to that required by the challenge.
weight = etc
height = etc
So when you RUN the code, the first number is assigned to weight and the 2nd number is assigned to height
+ 1
Simba đŻđ.