mirror of
https://github.com/metafy-social/python-scripts.git
synced 2025-02-28 19:08:42 +00:00
Edit bmi.py capitalization
This commit is contained in:
parent
19a74dd680
commit
5c972513dc
@ -1,16 +1,16 @@
|
||||
Height=float(input("Enter your height in centimeters: "))
|
||||
Weight=float(input("Enter your Weight in Kg: "))
|
||||
Height=float(input("Enter your height in cm: "))
|
||||
Weight=float(input("Enter your Weight in kg: "))
|
||||
Height = Height/100
|
||||
BMI=Weight/(Height*Height)
|
||||
print("your Body Mass Index is: ",BMI)
|
||||
print("Your Body Mass Index (BMI) is: ",BMI)
|
||||
if(BMI>0):
|
||||
if(BMI<=16):
|
||||
print("you are severely underweight")
|
||||
print("You are severely underweight")
|
||||
elif(BMI<=18.5):
|
||||
print("you are underweight")
|
||||
print("You are underweight")
|
||||
elif(BMI<=25):
|
||||
print("you are Healthy")
|
||||
print("You are Healthy")
|
||||
elif(BMI<=30):
|
||||
print("you are overweight")
|
||||
else: print("you are severely overweight")
|
||||
print("You are overweight")
|
||||
else: print("You are severely overweight")
|
||||
else:("enter valid details")
|
||||
|
Loading…
x
Reference in New Issue
Block a user