廖雪峰的官方网站
Blog
文章
Java教程
手写Spring
Python教程
JavaScript教程
区块链教程
SQL教程
Git教程
问答
More
文章
Java教程
手写Spring
Python教程
JavaScript教程
区块链教程
SQL教程
Git教程
问答
文章
Java教程
手写Spring
Python教程
JavaScript教程
区块链教程
SQL教程
Git教程
问答
Profile
Sign Out
Sign In
English
简体中文
Discuss
/
Python
/ 可行
Back
可行
Topic source
Ashen One
#1 Created at
...
[
Delete
] [
Delete and Lock User
]
m = int(input('请输入一个整数:'))
h=hex(m)
print(m,'十六进制表示为',str(h))
1
Reply
Sign in to make a reply
Ashen One
m = int(input('请输入一个整数:'))
h=hex(m)
print(m,'十六进制表示为',str(h))