from random import * randBinList = lambda n: [randint(0,1) for b in range(1,n+1)]