def uniform_sequence(n):
 return [random.uniform(0, n) for i in range(n)]

def uniform_sequence ( n ) : return [ random . uniform ( 0 , n ) for i in range ( n ) ]
return sample sequence of length n from a uniform distribution .