Python

Last updated: February 13th, 20202020-02-13Project preview

Write a program to find the BMI(Body mass indeex) with given weight(kg) and height(m)

BMI = w/h**2

In [1]:
w = eval(input("Enter weight: "))
h = eval(input("Enter height: "))
bmi = w/h**2
print("BMI ", round(bmi, 2))
BMI  23.88
Notebooks AI
Notebooks AI Profile20060