Skip to content

Instantly share code, notes, and snippets.

@ensup
Created July 29, 2019 05:44
Show Gist options
  • Save ensup/3a5dcf0f4307b84b8ae362a1c664047d to your computer and use it in GitHub Desktop.
Save ensup/3a5dcf0f4307b84b8ae362a1c664047d to your computer and use it in GitHub Desktop.
BMI Calculator
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