1# hexadecimal with prefix `0x` 2hex1 = 0xDEADBEEF 3hex2 = 0xdeadbeef 4hex3 = 0xdead_beef 5 6# octal with prefix `0o` 7oct1 = 0o01234567 8oct2 = 0o755 # useful for Unix file permissions 9 10# binary with prefix `0b` 11bin1 = 0b11010110
View as plain text