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