title: Data for Histogram in Python
body: <p>I want to create data for plotting histogram in python. The data should be in bins and value format.<br>
  For example, input data:</p>
  
  <pre><code>a = [10,30,12.5,70,76,90,96,55,44.5,67.8,76,88]
  </code></pre>
  
  <p>I want output in table format like,<br>
  bins data  </p>
  
  <pre><code>10  1   
  20  1  
  30  1  
  40  0  
  50  1  
  60  1  
  70  2  
  80  2  
  90  2      
  100 1  
  </code></pre>
  
  <p>How can i do this in python?  </p>