Python Program to find the BMI (Body Mass Index) of a Person

# BMI = kg/m^2


weight=float(input("Enter weight in kg :"))
height=float(input("Enter height in mtr:"))
bmi=weight/(height*height)

print("BMI is : ",bmi)


Output
>>>
Enter weight in kg :88
Enter height in mtr:1.72
BMI is : 29.745808545159548
>>>



No comments

Post your comments

Powered by Blogger.