Skip to content

Instantly share code, notes, and snippets.

@kenechukwu-2
Created August 12, 2018 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenechukwu-2/810c74d986804a4b06cea318116e05ce to your computer and use it in GitHub Desktop.
Save kenechukwu-2/810c74d986804a4b06cea318116e05ce to your computer and use it in GitHub Desktop.
BMI CALCULATOR
name = "Kenechukwu"
height_m = 3
weight_kg = 20
bmi = weight_kg / (height_m ** 2)
print("bmi: ")
print(bmi)
if bmi < 25:
print(name)
print("is not overweight")
else:
print(name)
print("is overweight")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment