date: 2022-11-30 excerpt: pythonの2進数表記
tag: pythonformatbin
bin
assert bin(16) == '0b10000'
format
assert format(16, 'b') == '10000'