Skip to content

Instantly share code, notes, and snippets.

@fandrefh
Created August 19, 2014 15:41
Show Gist options
  • Save fandrefh/967844603620d8c5a553 to your computer and use it in GitHub Desktop.
Save fandrefh/967844603620d8c5a553 to your computer and use it in GitHub Desktop.
#Nosso primeiro programa python
a = int(input("Digite um valor para a"))
b = int(input("Digite um valor para b"))
c = (a+b)/2.0
print ("Resultado",c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment