- 1

can anyone help me in making bmi calculator ?..

i am having doubt related to making bmi calculator by python will anyone help me ?

22nd Jul 2021, 2:38 AM
Vansh
Vansh - avatar
2 Answers
+ 5
Vansh, CHANDAN ROY , you are showing a really nice code to help someone solving a task. we all appreciate this very much!  (this is my personal statement - but it is not to criticize someone !!) but there is an issue by giving a ready solution, when the op has not done and shown his attempt first. as a part of the community i belive that learning by doing is more helpful, than just using a shared solution. we should act more as a mentor.  it is a very successful way when we are giving hints and help, so that the op is able to solve his task by himself. it would be great if you are going to help us to keep sololearn what it is: â–Șa unique place to learn (we are a "self" learning platform!) â–Șan absolutely great community that is willing to help other people  â–Șa great resource of people which has an unbelievable knowledge in coding and a long lasting experience â–Șa place to meet people and to discuss with them all the possible points of view thanks for your understanding
22nd Jul 2021, 10:48 AM
Lothar
Lothar - avatar
- 2
weight = float(input()) height= float(input()) BMI = weight / (height**2) if BMI >= 30: print("Obesity") elif BMI >= 25: print("Overweight") elif BMI >= 18.5: print('Normal') else: print("Underweight")
22nd Jul 2021, 2:59 AM
CHANDAN ROY
CHANDAN ROY - avatar