>>946
docs.python.org/ja/3/library/stdtypes.html#bytes-objects
type(a)はbytesだとおもうので、そうであれば中身はバイト列になってる
docs.python.org/ja/3.11/library/functions.html#print
printはstr(a)した結果を出力してるだけ
docs.python.org/ja/3.11/library/stdtypes.html#bytes.hex
もし16進で出力したいなら前もって文字列変換する