def calc(self, input):
        try:
            weight = float(input["weight"])
            height = float(input["height"])
        except __HOLE__:
            self._headers = [" ", " "]
            return [_("Error: We can't parse your input, please try again"), self.form_html]

        bmi = weight / (height * height)
        if bmi >= 30:
            return [_("You are obese")]
        elif bmi >= 25:
            return [_("You are overweight")]
        elif bmi >= 18.5:
            return [_("You are normal weight")]
        else:
            return [_("You are underweight")]
dataset/ETHPy150Open dimagi/commcare-hq/custom/bihar/reports/supervisor.py/BMICalcReport.calc