文章
0
粉丝
1
获赞
8
访问
10420
通过python的int函数直接转换:
while True: try: num = input() num = int(num, 16) print(num) except: break
登录后发布评论
暂无评论,来抢沙发