0

Pls tell me how to do this

#your code goes here h=int(input("enter ur hieght")) w=(input("enter ur weight")) t=h**2 bmi= w/t if bmi<18.5: print ('underweight') if bmi==(18.5) or(bmi>18.5) or(bmi<25): print('normal') if (bmi==25) or(bmi>25) or(bmi<30): print ('overwieght') if (bmi==30) or(bmi>30): print ('obesity')

15th Sep 2021, 10:18 AM
Vrajesh Sulakhe
Vrajesh Sulakhe - avatar
3 Answers
+ 2
Please use "bmi" at the search bar. There are hundreds of hints and codes here.
15th Sep 2021, 10:31 AM
Coding Cat
Coding Cat - avatar
+ 1
Thanks
15th Sep 2021, 10:33 AM
Vrajesh Sulakhe
Vrajesh Sulakhe - avatar
+ 1
One hint from my side. For code coach make only output what is asked for! So delete the output strings from the input statemends.
15th Sep 2021, 10:34 AM
Coding Cat
Coding Cat - avatar