forked from fenyx-it-academy/Class6-Python-Module-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBmi.py
More file actions
17 lines (17 loc) · 623 Bytes
/
Copy pathBmi.py
File metadata and controls
17 lines (17 loc) · 623 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
while True:
print('Welcome to Body Mass Index(BMI) Calculator ')
weight = int(input('Please Enter Your Weight in kg : '))
height = int(input('Please Enter Your Height in cm : '))
bmi = (weight/height**2)*10000
if bmi<25:
print("You are NORMAL")
elif 25<bmi<30:
print("You are OVERWEIGHT")
elif 30<=bmi<40:
print("You are OBESE")
else:
print("You are EXTREMELY OBESE")
choice = input("Do you want to Evaluate Another Person? Press Y for Yes, N for N0 --->")
if choice.upper() =='N':
print('Thanks for Using The Program. BYE...')
break