摘要: a=input("请输入进制类型") b=eval(input("请输入数据")) if a== 'bin': c=bin(b) elif a== 'oct': c=oct(b) elif a== 'hex': c=hex(b) print(c) 阅读全文
posted @ 2020-11-03 15:25 油菜园12号 阅读(94) 评论(0) 推荐(0) 编辑