We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b652a6 commit 3d02a3cCopy full SHA for 3d02a3c
BMI.py
@@ -0,0 +1,16 @@
1
+Height=float(input("Enter your height in centimeters: "))
2
+Weight=float(input("Enter your Weight in Kg: "))
3
+Height = Height/100
4
+BMI=Weight/(Height*Height)
5
+print("your Body Mass Index is: ",BMI)
6
+if(BMI>0):
7
+ if(BMI<=16):
8
+ print("you are severely underweight")
9
+ elif(BMI<=18.5):
10
+ print("you are underweight")
11
+ elif(BMI<=25):
12
+ print("you are Healthy")
13
+ elif(BMI<=30):
14
+ print("you are overweight")
15
+ else: print("you are severely overweight")
16
+else:("enter valid details")
0 commit comments