Skip to content

Instantly share code, notes, and snippets.

@mvallebr
Created September 30, 2014 13:51
Show Gist options
  • Save mvallebr/5efb4c77e420bb730843 to your computer and use it in GitHub Desktop.
Save mvallebr/5efb4c77e420bb730843 to your computer and use it in GitHub Desktop.
array usage
resultado = []
soma = 0
a = 2
for i in range(10):
soma += a
result[i] = soma
print str(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment