Lines Matching full:random
6 import random
61 """Used to generate random Kaleidoscope code"""
148 shouldCallFunc = self.lastFuncNum > 2 and random.random() < self.callWeighting
150 funcToCall = random.randrange(1, self.lastFuncNum - 1)
155 operation = random.choice(possibleOperations)
166 % (LValue, LHS, operation, random.uniform(1, 100))
188 # Write some random operations
201 arg1 = random.uniform(1, 100)
202 arg2 = random.uniform(1, 100)
219 """Generate a random Kaleidoscope script based on the given parameters"""
265 random.seed()