print(hex(n1)) print(hex(n2))
print(str(hex(n1)),str(hex(n2))) 题目原来是要字符串
hex()函数返回值就是字符串,不需要类型转换
Sign in to make a reply
MitsUI黄畅
print(hex(n1)) print(hex(n2))