https://docs.python.org/3/library/functions.html
bin(3)
# If prefix "0b is desired or not, use either of the following ways
print(format(3, '#b'))
print(format(3, 'b'))
print(chr(65))
print(chr(97))
print(chr(8364))
globals()
print(hex(42))
print(hex(-42))
# Other ways
format(255, '#x'), format(255, 'x'), format(255, 'X')
print(oct(100))
print(format(10, '#o'))
print(format(10, 'o'))
0o12 12
print(ord(' '))
print(ord('~'))
32 126
x = 10
id(x)
4341667328
print(divmod(7, 3)) # return (quotient, remainder)
quotient, remainder = divmod(7, 3)
print(quotient, remainder)
(2, 1) 2 1
y = 2
print(eval('y**2'))
print(eval('y+2*3'))
4 8
print('max=', max(100, 8.9, 999, 1000.5))
max= 1000.5
print('min=', min(100, 8.9, 999, 1000.5))
min= 8.9
print('2 to the power 3 =', pow(2, 3))
2 to the power 3 = 8