Created
October 24, 2017 14:24
-
-
Save franciscojsc/a2f4a8701a4e3b03ebb6415e6d684c2a to your computer and use it in GitHub Desktop.
IMC EM PYTHON
This file contains 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
altura = float(input('Entre com sua altura:')) | |
peso = float(input('Entre com seu peso:')) | |
imc = peso/(altura * altura) | |
print('Seu índice de massa corporal é {:.2f}'.format(imc)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment