title: maketrans alternative for list - python 2.7
body: <pre><code>INPUT = ["a","b","c","d","e","f","g","h","i","j","k"]
  OUTPUT = ["20","21","22","23","24","25","26","27","28","29","30"]
  TABLE = maketrans(INPUT, OUTPUT)
  content = content.translate(TABLE)
  </code></pre>
  
  <blockquote>
    <p>TypeError: maketrans() argument 1 must be string or read-only character buffer, not list</p>
  </blockquote>
  
  <p>What I want is, for example, if string = "a", the return to be "20".</p>
  
  <p>I cannot turn INPUT and OUTPUT into strings because they would have different size.</p>
  
  <p>What is the most efficient alternative or tweak?</p>