用户:
盒子的box查看:21 回复:2 评论:21 创建时间:2020-02-20T22:14:14
【作品展示】

【作品介绍】
号外号外!快来看!https://shequ.codemao.cn/user/5813822弄出来忽悠人的!看看视频吧!
TA在https://shequ.codemao.cn/wiki/forum/244695
上发的
自己去看!
【作品源代码】
while True:
fromjz = int(input("来的进制"))
num = int(input("数字"))
tojz = int(input("转过去进制"))
if fromjz <= 0 or fromjz > 10 or tojz <= 0 or tojz > 10:
print('Unexcept Answer.Try again.')
else:
print('OK')
break
a = num//10
b = num % 10
tengo = a+b
c = tengo//tojz
d = tengo % tojz
print("Output:%s" % str(c*10+d))
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn