0o1045
0o1045 is an octal numeric literal used in several programming languages to denote a value written in base 8. The prefix 0o (zero-o) signals octal notation, and the digits that follow must be between 0 and 7.
Interpreting 0o1045 in base 8 yields decimal 549, calculated as 1×8^3 + 0×8^2 + 4×8 + 5 = 512 + 0
In Python 3, 0o1045 is a valid integer literal; Python 2 used a leading zero without the
Caveats include ensuring digits are within the 0–7 range and recognizing that 8 or 9 cannot appear