Created
February 25, 2013 16:05
-
-
Save detomastah/5030848 to your computer and use it in GitHub Desktop.
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
import sys | |
arr = [a for a in range(1,129)] | |
arr2 = [a for a in range(1001,1129)] | |
for a in xrange(0, int(sys.argv[1])): | |
for b in xrange(0,128): | |
if arr[b] % 2 == 0: | |
arr[b] += arr2[b] | |
else: | |
arr2[b] *= arr[b] | |
print arr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment