def generate_uniform_distribution(k):
  """Generate the discrete uniform distribution."""
  raw_distribution = [1] * k
  sum_raw = sum(raw_distribution)
  prob = [float(y) / float(sum_raw) for y in raw_distribution]
  return prob