Literal Syntax

long types can be simply intilized by using numeric values or obtained as a result of an expression. Values must be larger the int type.’ L’ or ‘l’ prefix can be used as well without meeting the size requirement.

Example

>>> 10l
10L
>>> 10L
10L
>>> 2**32
4294967296L