def bmi_calculator (weight, height): bmi = weight / (height ** 2) if bmi < 25: return "there is no excess weight" return "there is excess weight"
- def bmi_calculator (weight, height):
- bmi = weight / (height ** 2)
- if bmi < 25:
- return "there is no excess weight"
if bmi >= 25:return "there is excess weight"- return "there is excess weight"