title: Converting a list of integers to strings using map()
body: <p>I dont understand why python is not allowing me to use the map() function to change a list of integers to a list of strings. When I try to do it in the python shell it works fine but not when I try it in a script, I am really confused to why this happens. Here is my code for the script:</p>
  
  <pre><code>def DashInsert(str):
  
      list_int = map(int, list(str))
      list_str = map(str, list_int)
  
      return list_str 
  </code></pre>
  
  <p>Also I know that I dont need to change the list back into a string if it is already coming in as a string, but I am curious to why Python wont let me change the list after I turn it into a list of integers. I keep on getting the 'str object is not callable' error.</p>