title: Removing Square Brackets and Double quotes from list
body: <p>I need to remove Square brackets and Double quotes from python list for further processing of data.</p>
  
  <p>My code for the same is as follows:</p>
  
  <pre><code>ips = ['1.2.3.5','1.2.3.4']
  y = []
  
  for ip in ips:
          x = "model.data.like('%"+ip+"%'),"
          y.append([x])
  print y
  </code></pre>
  
  <p>So here final result which I got is as follows:</p>
  
  <pre><code>["model.data.like('%1.2.3.5%'),"], ["model.data.like('%1.2.3.4%'),"]
  </code></pre>
  
  <p>Now here I need to get rid of square brackets and double quotes.</p>
  
  <p>I need the output as follows:</p>
  
  <pre><code>model.data.like('%1.2.3.5%'),model.data.like('%1.2.3.4%')
  </code></pre>
  
  <p>Please have a note that IP address is dynamic one, List can contain more than two IP addresses.</p>