2014-06-20 19:01:38 -05:00
|
|
|
answer = 42
|
|
|
|
neganswer = -42
|
2018-07-10 20:00:12 -05:00
|
|
|
|
2018-07-10 18:27:58 -05:00
|
|
|
neg_zero = -0
|
|
|
|
pos_zero = +0
|
2018-07-10 20:00:12 -05:00
|
|
|
|
|
|
|
# hexadecimal with prefix `0x`
|
|
|
|
hex1 = 0xDEADBEEF
|
|
|
|
hex2 = 0xdeadbeef
|
|
|
|
hex3 = 0xdead_beef
|
|
|
|
|
|
|
|
# octal with prefix `0o`
|
|
|
|
oct1 = 0o01234567
|
|
|
|
oct2 = 0o755 # useful for Unix file permissions
|
|
|
|
|
|
|
|
# binary with prefix `0b`
|
|
|
|
bin1 = 0b11010110
|
|
|
|
|