p=str.maketrans("abcde","12345")字符串
print("hehe.aabbec".translate(p))make
輸出結果爲 h5h5,112253字符
即上方兩個字符串種字符一一對應替換,字符串長度須要相等,不然報錯ab