Created
January 8, 2021 13:54
-
-
Save d0mmie/09da36c5a42cf385c32acd23ef82c82a to your computer and use it in GitHub Desktop.
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 = float(input("Input weight in kg: ")) | |
height = float(input("Input height in cm: ")) | |
print("Weight = %.2f kg., Height = %.2f, BMI = %.2f" % (weight, height, (weight / pow(height / 100, 2)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment