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