Write a Python program to calculate the body mass index.

Write a Python program to calculate the body mass index.

1
2
3
height = float(input("Input your height in Feet: "))
weight = float(input("Input your weight in Kilogram: "))
print("Your body mass index is: ", round(weight / (height * height), 2))

Final output

Leave a Comment