How to avoid the L in Python -
>>> sum(range(49999951,50000000)) 2449998775l
is there possible way avoid l @ end of number?
the l
you. (so know long
) , nothing worry about.
>>> = sum(range(49999951,50000000)) >>> 2449998775l >>> print 2449998775
as can see, printed value (actual value) not have l
repr
(representation) displays l
consult this post
Comments
Post a Comment