def zipf_sequence(n, alpha=2.0, xmin=1):
 return [zipf_rv(alpha, xmin) for _ in range(n)]

def zipf_sequence ( n , alpha = 2.0 , xmin = 1 ) : return [ zipf_rv ( alpha , xmin ) for _ in range ( n ) ]
return a sample sequence of length n from a zipf distribution with exponent parameter alpha and minimum value xmin .