code: def Percentile(pmf, percentage):
      
      p = percentage / 100.0
      total = 0
      for val, prob in pmf.Items():
          total += prob
          if total >= p:
              return val
docs: Computes a percentile of a given Pmf.
  
      percentage: float 0-100