+ 1

Can someone tell me how to solve BMI Calculator challenge in 'python for beginners'?

I'm stuck on this since tomorrow :-(

31st May 2022, 4:18 AM
Aman Khan
Aman Khan - avatar
5 Respostas
+ 3
Bmi calci discussion..
31st May 2022, 4:28 AM
Mihir Lalwani
Mihir Lalwani - avatar
31st May 2022, 4:27 AM
Mihir Lalwani
Mihir Lalwani - avatar
+ 1
weight = float(input()) height= float(input()) x = int(weight/height**2) if x < 18.5: print('Underweight') elif x >= 18.5 and x < 25: print('Normal') elif x >= 25 and x < 30: print('Overweight') else: print('Obesity')
31st May 2022, 5:36 AM
Andrew Erkan
Andrew Erkan - avatar
+ 1
Have a loot at this.....hope it will helps... https://code.sololearn.com/c3yuubx1Jup5/?ref=app
31st May 2022, 6:52 AM
Avi
Avi - avatar
+ 1
Share your code where you're stuck
31st May 2022, 7:57 AM
Daljeet Singh
Daljeet Singh - avatar