Skip to content

Instantly share code, notes, and snippets.

@franciscojsc
Last active February 17, 2018 04:59
Show Gist options
  • Save franciscojsc/c4a17d4cdd47dfeb730901bfbdf2c8ca to your computer and use it in GitHub Desktop.
Save franciscojsc/c4a17d4cdd47dfeb730901bfbdf2c8ca to your computer and use it in GitHub Desktop.
Circuferência do circulo em python
raio = float(input('Entre com o valor do raio, para obter a circuferência do círculo: '))
circunferencia = 2 * 3.14 * raio
print("A circuferência do círculo: {:.2f}".format(circunferencia))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment