Discuss / Python / 将整数转换成十六进制

将整数转换成十六进制

Topic source

XL栁兒

#1 Created at ... [Delete] [Delete and Lock User]

n=input('请输入数字:') n=int(n) print(hex(n))


  • 1

Reply