title: How to write a function that count the total points in python?
body: <p>How to write a function that count the total points according in python?</p>
  
  <p>For example,</p>
  
  <pre><code>      rank_list=[['Peter','Amy','John','Kitty'],['Amy','John','Kitty','Peter']]
  </code></pre>
  
  <p>People get 5 points for first ranking, 2 points for the second, 0 point for the third and 9 point for last.</p>
  
  <p>I want a list that count the total point of people </p>