Created
July 29, 2019 05:44
-
-
Save ensup/3a5dcf0f4307b84b8ae362a1c664047d to your computer and use it in GitHub Desktop.
BMI Calculator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
w = int(input("당신의 몸무계를 입력하십시오:")) | |
h = int(input("당신의 키를 입력하십시오:")) | |
h=h**2 | |
bmi=w/h | |
print('Your BMI is %d. So you are...'%bmi) | |
if bmi>=30: | |
print('Obese') | |
elif bmi>=25: | |
print('Overweight') | |
elif bmi>=18.50: | |
print('Healthy Weight') | |
else: | |
print('Underweight') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment