an error in taking an input in python
Question: 111111111111111111111111111111111111111111111111111111111111

when i take this as input , it appends an L at the end like this

111111111111111111111111111111111111111111111111111111111111L

thus affecting my calculations on it .. how can i remove it?

    
    
    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]
    

this is my code and it works for every test case except
111111111111111111111111111111111111111111111111111111111111

so i guess something is wrong when python considers such a huge number


Answer: It's being input as a Long Integer, which should behave just like any other
number in terms of doing calculations. It's only when you display it using
[`repr`](http://docs.python.org/library/functions.html#repr) (or something
that invokes `repr`, like printing a list) that it gets the 'L'.

What exactly is going wrong?

**Edit** : Thanks for the code. As far as I can see, giving it a long or short
number makes no difference, but it's not really clear what it's supposed to
do.

