Literals/Integer: Difference between revisions

m
(→‎{{header|Python}}: Put historical version last)
Line 134:
 
=={{header|Python}}==
{{works with|Python|3.0}} and {{works with|Python|2.6}}
{{works with|Python|2.6}}
<lang python>>>> # Bin(leading 0b or 0B), Oct(leading 0o or 0O), Dec, Hex(leading 0x or 0X), in order:
>>> 0b1011010111 == 0o1327 == 727 == 0x2d7
Anonymous user