Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Python by ddd ( 6 years ago )
text=input()
l=[]
l.extend(text)
#print(l)
n=input().split()
#print(n)
d={}
for i in range(len(n)):
d[n[i][0]]=n[i][2]
#print(d)
for i in range(len(l)):
if l[i] in d:
l[i]=d[l[i]]
print(''.join(l))
Revise this Paste