def RandomSum(dists):
total = sum(dist.Random() for dist in dists)<EOL>return total<EOL>
Chooses a random value from each dist and returns the sum.

    dists: sequence of Pmf or Cdf objects

    returns: numerical sum