title: calculate 95 percentile of the list values in python
body: <p>I have a dictionary in my program and each of the value is a list of response times. I need to calculate the 95 percentile response time for each of these lists. I know how to calculate the average, But have no idea about 95 percentile calculation. Any pointers would be appreciated. </p>
  
  <p>The following is the dictionary output of my program</p>
  
  <p>finalvalues = {'<a href="https://lp1.soma.sf.com/img/chasupersprite.qng?v=182-4" rel="noreferrer">https://lp1.soma.sf.com/img/chasupersprite.qng?v=182-4</a>': ['505', '1405', '12', '12', '3'], '<a href="https://lp1.soma.sf.com/img/metaBar_sprite.dsc" rel="noreferrer">https://lp1.soma.sf.com/img/metaBar_sprite.dsc</a>': ['154', '400', '1124', '82', '94', '108']}</p>