Join the conversation

nice
Reply

Learning
Reply

nice
Reply

height=float(input("Enter your height in cm:"))
weight=float(input("Enter your weight in kg:"))
#for convert height(cm) in height(m)
height=height/100
#calculate BMI
BMI=weight/(height*height)
print("Your Body Mass Index is:", BMI)
if BMI >0:
if BMI <=16:
print("You are normal")
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:
print("You have Entered Invalid Details!")
Reply

Done
Reply

done
Reply

great effort
Reply

bohat beautiful way to learn... apkkaa bohat bohat sukria.. from kpk
Reply

thank you sir
Reply

done
Reply