Discuss / Python / 可行

可行

Topic source

Ashen One

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

m = int(input('请输入一个整数:'))

h=hex(m)

print(m,'十六进制表示为',str(h))


  • 1

Reply