BMI CALCULATOR
w = input("Enter Your Weight in KG.\n")
h = input("Enter Your height in Meter.\n")
#BMI = kg/m2
kilograms = float(w)
height = float(h)*float(h)
BMI = float(kilograms)/float(height)
print("your BMI is",BMI)
w = input("Enter Your Weight in KG.\n")
h = input("Enter Your height in Meter.\n")
#BMI = kg/m2
kilograms = float(w)
height = float(h)*float(h)
BMI = float(kilograms)/float(height)
print("your BMI is",BMI)
Comments
Post a Comment