# Homework 15, challenge -- solution. height = float(input("Height in metres (e.g. 1.78): ")) weight = float(input("Weight in kg (e.g. 72.5): ")) bmi = weight / (height * height) print(f"BMI: {bmi:.1f}")