Skip to content

Instantly share code, notes, and snippets.

@ensup
Created July 29, 2019 05:44
Embed
What would you like to do?
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