an error in taking an input in python
<p>111111111111111111111111111111111111111111111111111111111111</p>

<p>when i take this as input , it appends an L at the end like this </p>

<p>111111111111111111111111111111111111111111111111111111111111L</p>

<p>thus affecting my calculations on it .. how can i remove it?</p>

<pre><code>import math
t=raw_input()
l1=[]
a=0
while (str(t)!="" and int(t)!= 0):
    l=1
    k=int(t)
    while(k!= 1):
        l=l+1
        a=(0.5 + 2.5*(k %2))*k + k % 2
        k=a

    l1.append(l)
    t=raw_input()
    a=a+1


for i in range(0,int(a)):
    print l1[i]
</code></pre>

<p>this is my code and it works for every test case except 111111111111111111111111111111111111111111111111111111111111</p>

<p>so i guess something is wrong when python considers such a huge number</p>
