Created
October 9, 2021 12:14
-
-
Save moulik-source/3a3b32722c89229f9af6404904edc0c7 to your computer and use it in GitHub Desktop.
BMI calculator
This file contains hidden or 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
#Weight & height | |
height = input("Please enter your height in meter: ") | |
weight = input("Please enter your weight in kg: ") | |
# bmi = weight / height square | |
bmi = int(weight) / float(height) ** 2 | |
bmi_convert = int(bmi) | |
print(bmi_convert) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment