Python String maketrans() Method
The Python String maketrans() method creates a translation table that contains mapping information of several characters. This translation table is then used by the translate() function to replace these characters with their corresponding characters