RosettaCodeData/Task/Literals-Integer/Python/literals-integer-3.py

5 lines
95 B
Python

>>> # Oct(leading 0), Dec, Hex(leading 0x or 0X), in order:
>>> 01327 == 727 == 0x2d7
True
>>>