title: How to manage division of huge numbers in Python?
body: <p>I have a 100 digit number and I am trying to put all the digits of the number into a list, so that I can perform operations on them. To do this, I am using the following code:</p>
  
  <pre><code>for x in range (0, 1000):
     list[x] = number % 10
     number = number / 10
  </code></pre>
  
  <p>But the problem I am facing is that I am getting an overflow error something like too large number float/integer. I even tried using following alternative</p>
  
  <pre><code>number = int (number / 10)
  </code></pre>
  
  <p>How can I divide this huge number with the result back in integer type, that is no floats?</p>