题解 | #简单密码#
简单密码
http://www.nowcoder.com/practice/7960b5038a2142a18e27e4c733855dac
l1 = '1abcdefghijklmnopqrstuvwxyz0ABCDEFGHIJKLMNOPQRSTUVWXYZ23456789'
l2 = '1222333444555666777788899990bcdefghijklmnopqrstuvwxyza23456789'
dic = dict(zip(l1,l2))
while 1:
try:
s = input()
for i in s:
print(dic[i],end='')
except:
break
l2 = '1222333444555666777788899990bcdefghijklmnopqrstuvwxyza23456789'
dic = dict(zip(l1,l2))
while 1:
try:
s = input()
for i in s:
print(dic[i],end='')
except:
break