题解 | 密码游戏

密码游戏

https://www.nowcoder.com/practice/36641ab168664384aff798ba7ce34bc1

import sys

number = str(input())
list = []
for i in number:
    j = ((int(i)+3) % 9)
    list.append(j)
print(list[2],list[3],list[0],list[1],sep='')
#!!!!

    

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务