0

Pls help me with this python code

#your code goes here weight = int(input()) height = float(input ()) bmi = weight/height 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") This my code

26th Apr 2022, 11:16 AM
Rishabh Bhakar
2 Antworten
+ 2
my calculation looks like this, x is weight, y is height: z = x / ( y * y )
26th Apr 2022, 11:26 AM
Paul
Paul - avatar
0
Sure. Which help do you need?
26th Apr 2022, 1:30 PM
Emerson Prado
Emerson Prado - avatar