题解 | #简单密码#
简单密码
https://www.nowcoder.com/practice/7960b5038a2142a18e27e4c733855dac
s1 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' s2 = '22233344455566677778889999bcdefghijklmnopqrstuvwxyza0123456789' res = '' for i in input(): res += s2[s1.index(i)] print(res)