title: Python: Convert this list into dictionary
body: <p>I've got a problem , and do not know how to code in python.</p>
  
  <p>I've got a <code>list[10, 10, 10, 20, 20, 20, 30]</code></p>
  
  <p>I want it be in a dictionary like this</p>
  
  <pre><code>{"10": 1, "20":  3, "30" : 1}
  </code></pre>
  
  <p>How could I achieve this?</p>