Literals/Integer: Difference between revisions

→‎{{header|Python}}: Put historical version last
(added scheme, common lisp)
(→‎{{header|Python}}: Put historical version last)
Line 134:
 
=={{header|Python}}==
{{works with|Python|3.0}} and {{works with|Python|2.56}}
<lang python>>>> # Bin(leading 0b or 0B), Oct(leading 00o or 0O), Dec, Hex(leading 0x or 0X), in order:
>>> 013270b1011010111 == 0o1327 == 727 == 0x2d7
True
>>>
</lang>
{{works with|Python|32.05}}
<lang python>>>> # Bin(leading 0b or 0B), Oct(leading 0o or 0O0), Dec, Hex(leading 0x or 0X), in order:
>>> 0b1011010111 == 0o132701327 == 727 == 0x2d7
True
>>>
Anonymous user