a={'1':'張三',
....'2':'李四',
....'3':'王五'}
b = {'text':[1,2,3],
....'text2':[1,3]}
c = {}
for k,v in b.items():
....c[k] = list(map(lambda _:a[str(_)], v))
print(c)