title: Trying to convert a numerical tuple into a string
body: <p>I'm trying to convert and concatenate a numeric tuple into a string on python. I receive something like this from an Angular controller</p>
  
  <pre><code>data['permissions'] = (43,12,65,34,67)
  </code></pre>
  
  <p>then I send it to a <code>model.py</code> to concatenate this values as a string like that:</p>
  
  <pre><code>values = data['user'], ",'", str(data['permissions']), "'"
  </code></pre>
  
  <p>When I'm running the code, python console show me an error that can convert tuple array into str implicitly. I tried some different methods to concatenate and convert the tuple:</p>
  
  <ol>
  <li><p>This</p>
  
  <pre><code>permissionsList = ','.join(data['permissions'])
  values = data['user'], ",'",permissionsList, "'"
  </code></pre></li>
  <li><p>and this</p>
  
  <pre><code>pointer = 0;
  values = int(data['user']),",'"
  for value in data['permissions']:
      if (pointer == 0):
         values += str(value)
         pointer += 1
      else:
         values += ','+str(value)
  </code></pre></li>
  </ol>
  
  <p>And get the same error. Values should be like this: <code>34,'43,12,65,34,67'</code> (I need this format to process a query).</p>