I wrote a BMI Calculator. I tested the code and everything seems to be working fine. I would like to check if there is any room for improvement.class bmi:    def __init__(self):        to_start = input(Y to start N to exit: )        if to_start in (Y,y):            found = False            while not found:                weight_input = float(input(Please enter your weight(kg): ))                if weight_input < 0:                    print(Invalid Value)                else:                    weight_confirm = input(Y to confirm. N to exit: )                    if weight_confirm in (Y,y):                        while not found:                            height_input = float(input(Please enter your height(m): ))                            if height_input < 0:                                print(Invalid Value)                            else:                                BMI = round(weight_input/(height_input*height_input),2)                                print (Your BMI is: ,BMI)                                if BMI < 18.5:                                    print(Under-Weight)                                    found = True                                elif 18.5 <= BMI <= 24.99:                                    print(Healthy Weight)                                    found = True                                elif 25.0 <= BMI <= 29.99:                                    print(Over-weight)                                    found = True                                elif BMI > 30:                                    print(Obese)                                    found = True                    else:                        print(Re-enter)                        found = False        else:            exit()if __name__ == '__main__':    a = bmi()
Python BMI Calculator
python;python 3.x;calculator