def MakeUniformPmf(low, high, n):
 pmf = Pmf()
 for x in np.linspace(low, high, n):
  pmf.Set(x, 1)
 pmf.Normalize()
 return pmf

def MakeUniformPmf ( low , high , n ) : pmf = Pmf ( ) for x in np . linspace ( low , high , n ) : pmf . Set ( x , 1 ) pmf . Normalize ( ) return pmf
make a uniform pmf .