Skip to content

Instantly share code, notes, and snippets.

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