write a program to find bmi of the patients using python code example

Example: how to make bmi calculator in python

weight = float(input('What is your weight? (Kg) '))
height = float(input('What is your height? (Mtr) '))
bmi = weight/(height*height)

if bmi <= 18.5:
    print('Your BMI is', bmi, 'which means you are underweight')

elif 18.5 < bmi < 25:
    print('Your BMI is', bmi,'which means you are normal')

elif 25 < bmi < 30:
    print('your BMI is', bmi,' which means you are overweight')

elif bmi > 30:
    print('Your BMI is', bmi,'which means you are obese')