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:
for x in range (0, 1000):
list[x] = number % 10
number = number / 10
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
number = int (number / 10)
How can I divide this huge number with the result back in integer type, that is no floats?