def Percentile(pmf, percentage):
p = percentage / <NUM_LIT><EOL>total = <NUM_LIT:0><EOL>for val, prob in pmf.Items():<EOL><INDENT>total += prob<EOL>if total >= p:<EOL><INDENT>return val<EOL><DEDENT><DEDENT>
Computes a percentile of a given Pmf.

    percentage: float 0-100