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

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -