Lines Matching full:random
6 import random
51 """Used to generate random Kaleidoscope code"""
138 shouldCallFunc = self.lastFuncNum > 2 and random.random() < self.callWeighting
140 funcToCall = random.randrange(1, self.lastFuncNum - 1)
145 operation = random.choice(possibleOperations)
156 % (LValue, LHS, operation, random.uniform(1, 100))
178 # Write some random operations
191 arg1 = random.uniform(1, 100)
192 arg2 = random.uniform(1, 100)
209 """Generate a random Kaleidoscope script based on the given parameters"""
255 random.seed()