Â
In this we are going to see a program of BMI Calculator in Python Programming Language.
h=float(input("Enter your height in centimeters: "))
w=float(input("Enter your weight in Kg: "))
height = h/100
BMI=w/(height*height)
print("your Body Mass Index is: ",BMI)
if(BMI>0):
if(BMI<=16):
print("You are severely underweight")
elif(BMI<=18.5):
print("You are underweight")
elif(BMI<=25):
print("You are Healthy")
elif(BMI<=30):
print("You are overweight")
else: print("You are severely overweight")
else:("Enter valid details")
# Coded By Dhiraj Shelke
#ENJOY CODING
Post a Comment
FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP