title: Each character replace from string in python
body: <p>I am new in programming...My code is very simple. Let's say my number is '123' then i want to get 'abc' .please check where i am wrong</p>
  
  <pre><code>def number2char(number):
      search_array = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
      replace_array = ["a", "b", "c", "d", "d", "e", "f", "g", "h", "i"]
      num_2_char = number.replace(search_array, replace_array);
      return num_2_char;  
  </code></pre>
  
  <p>I am getting an error here like this </p>
  
  <blockquote>
    <p>num_2_char = number.replace(search_array, replace_array);
    TypeError: expected a character buffer object</p>
  </blockquote>
  
  <p>Please help me...</p>