题解 | #字符串加解密#无脑解法
字符串加解密
https://www.nowcoder.com/practice/2aa32b378a024755a3f251e75cbf233a
a = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
b = 'BCDEFGHIJKLMNOPQRSTUVWXYZAbcdefghijklmnopqrstuvwxyza1234567890'
s1 = input()
s2 = input()
res1 = []
res2 = []
for i in s1:
res1.append(b[a.index(i)])
for i in s2:
res2.append(a[b.index(i)])
print(''.join(res1))
print(''.join(res2))