#Ask the user for their height and weight height = float(input("What is your height")) weight = float(input("What is your weight")) #Calculate the BMI bmi = weight/(height**2) #Display the BMI print(f"Your BMI is {bmi:.1f}")