- print('Wellcome to BMI Calculator')
- weight = int(input('Enter your weight in kg here: '))
- height = float(input('Enter your height in m here: '))
- bmi = round(weight / height ** 2)
- if bmi < 18.5:
- print(f'Your bmi is {bmi} and you are underweight')
- elif bmi < 25:
- print(f'Your bmi is {bmi} and you are normal weight')
- elif bmi < 30:
- print(f'Your bmi is {bmi} and you are overweight')
- elif bmi < 35:
- print(f'Your bmi is {bmi} and you are obese')
- else:
- print(f'Your bmi is {bmi} and youare clinicaly obese')
|