题解 | #简单密码#

简单密码

https://www.nowcoder.com/practice/7960b5038a2142a18e27e4c733855dac

s1 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
s2 = '22233344455566677778889999bcdefghijklmnopqrstuvwxyza0123456789'

res = ''

for i in input():
    res += s2[s1.index(i)]
print(res)

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务