0

Why my code is false???

weight=float(input()) height=float(input()) x=weight/(height * height) if x < 18.5 : print ("underweight") else : if x<25 : print ("normal") else : if x < 30 : print ("overweight") else : print ("obesity")

4th Sep 2022, 11:49 AM
Mouhamed Bendakkoum
2 Answers
+ 1
According to task : All output word starts with capital letter so so change first letter to it's capital letter.. Underweight Normal Overweight Obesity
4th Sep 2022, 12:01 PM
Jayakrishna šŸ‡®šŸ‡³
+ 1
Thank you very much.. I'm grateful to you
5th Sep 2022, 12:41 PM
Mouhamed Bendakkoum