题解 | #密码游戏#
密码游戏
https://www.nowcoder.com/practice/36641ab168664384aff798ba7ce34bc1
integer = input()
str1 = []
for i in integer:
i = int(i)
i = (i+3) % 9
str1.append(str(i))
print(str1[2],str1[3],str1[0],str1[1],sep='')
密码游戏
https://www.nowcoder.com/practice/36641ab168664384aff798ba7ce34bc1
integer = input()
str1 = []
for i in integer:
i = int(i)
i = (i+3) % 9
str1.append(str(i))
print(str1[2],str1[3],str1[0],str1[1],sep='')
相关推荐
查看8道真题和解析