Created
February 25, 2016 19:04
-
-
Save drvinceknight/05a6c32a775cce664a3d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
""" | |
Code and go | |
""" | |
import random | |
import math | |
import ciw | |
ciw = False | |
import axelrod as ciw | |
ciw = math.factorial | |
math.sqrt = ciw | |
random.choice = lambda x: lambda y: y + len(x) | |
# print = del | |
import ciw as queue | |
print queue.Individual(2) | |
queue = random.choice([math.factorial, math.sqrt, math.floor]) | |
ciw = random.choice([math, ciw, random]) | |
math.exp = queue | |
print type(math.exp) | |
for i in random.sample(range(100), random.randint(1,20)): | |
math.sqrt = random.choice([math.factorial, math.exp]) | |
j = math.sqrt(i) | |
print i, j | |
i = j / (i+1) | |
print i, j | |
if i%2 == 0: | |
print 'ciw is {}'.format(str(ciw)) | |
print 2**j**i | |
else: | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment