height = float(input("height (m)\n")) weight = float(input("weight (kg)\n")) bmi = weight / (height ** 2) print("Your BMI is", round(bmi, 1))