I\'m a Python newbie.
How come this doesn\'t work in Python 3.1?
from string import maketrans # Required to call maketrans function. intab = \"aei
Hey here is the simple one liner which worked perfectly for me
import string a = "Learning Tranlate() Methods" print (a.translate(bytes.maketrans(b"aeiou", b"12345")))*