python code to make bmi calculator
mrsonu962:
what is bmi
Answers
Answered by
0
height "float (Input ("Input your height in meter: "))
weight float (Input ("Input your weight in kilogram: "))
print ("your body mass index is: ",
round (weight /
(height * height) ,
2))
Answered by
8
Here is the code to find the body mass index of a person:
weight = int(input('Enter your weight in KG:'))
height = int(input('Enter your height in meters:'))
print('Your BMI is:',weight/(height**2))
One can get this with the basic BMI calculation formula.
Similar questions