python 打印十六进制
How to print integers in hexadecimal format in Python?
To print an integer i in hexadecimal format in Python:
要在Python中以十六进制格式打印整数i:
print hex(i)
Answered by anonymous.
匿名回答。
翻译自: https://www.systutorials.com/python-printing-integers-in-hexadecimal-format/
python 打印十六进制