Professional Documents
Culture Documents
BMI= weight/pow(height/100,2)
bmi= round(BMI,2)
print('Your BMI value is',bmi)
print("\n")
while user_input!='Q':
height=float(input("Please enter height in cm:"))
weight=float(input('Please enter weight in kg:'))
BMI= weight/pow(height/100,2)
bmi= round(BMI,2)
print('Your BMI value is',bmi)
print("\n")