Skip to content

Instantly share code, notes, and snippets.

@CodeWithEdgard
Last active June 24, 2023 01:25
Show Gist options
  • Save CodeWithEdgard/abde3a50a7a5fb728fe63747e73da47b to your computer and use it in GitHub Desktop.
Save CodeWithEdgard/abde3a50a7a5fb728fe63747e73da47b to your computer and use it in GitHub Desktop.
imc
peso = float(input('Qual seu Peso ?'))
altura = float(input('Qual sua Altura ?'))
imc = peso/(altura**2)
print('Seu IMC é:{}'.format(round(imc)))
if imc<=17:
print('Muito abaixo do Peso')
elif imc<=18.49:
print('Abaixo do Peso')
elif imc<=24.99:
print('Peso Normal')
elif imc<=29.99:
print('Acima do Peso')
elif imc<=39.99:
print('Obesidade')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment