title: Python: How to convert a number which ll separated by comma as number count increases?
body: <p>I have a number like: 100  I am showing here as it. 
  But when I am trying to show a number as 1000 then want to display as 1,000.&amp; so on like 1,00,000 likewise.</p>
  
  <p><strong>Below structure</strong></p>
  
  <p>Number         Formatted As</p>
  
  <p>10                  10</p>
  
  <p>100                 100</p>
  
  <p>1000                1,000</p>
  
  <p>10000               10,000</p>
  
  <p>100000              1,00,000</p>
  
  <p>1000000             10,00,000</p>
  
  <p>10000000            1,00,00,000</p>
  
  <p>100000000           10,00,00,000</p>
  
  <p>1000000000          1,00,00,00,000</p>
  
  <p>10000000000         10,00,00,00,000</p>
  
  <p>All the above things I want to do in python.</p>
  
  <p>I thought of using regex but couldn't get an way how to proceed.</p>
  
  <p>Any one having any idea?</p>