BMI Calculation

calculate the BMI using formula: bmi=(weight in kg)/(square of height in metre)

80
178
Total : 2 Discussion
Login
Romy
    
As per the formula the height is in meters. So the assumption is the height is entered in meters. As per the input as above 178 is in meters which is absurd. Need to revisit.
height = float(input())
weight = float(input())
bmi = weight/(height**2)
print (bmi)
Reply     
Vijay Kumar
    
Here output is wrong , can you Please update This
Reply