powered by
pystr_translate
pystr_maketrans(x, y)
x
y
map = pystr_maketrans("abc", "123") pystr_translate("a blue cat", map)
Run the code above in your browser using DataLab