Created
September 30, 2014 13:51
-
-
Save mvallebr/5efb4c77e420bb730843 to your computer and use it in GitHub Desktop.
array usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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