Python String maketrans() Method Example

Python string maketrans() is an inbuilt mapping function that maps the characters of a string to its replacement or in other words its translation.