title: print formatting in python 3
body: <p>I am trying to print in Python 3 and am having trouble. I have a for loop in my code that looks like this:</p>
  
  <pre><code>seq = input("enter DNA sequence to search: ")
  pat = re.compile('(.{10})(ATC.{3,6}CAG)')
  li = []
  output_lines = [] 
  for mat in pat.finditer(seq):
      x = mat.end()
      li.append(mat.groups()+(seq[x:x+10],))
  for u in li:
      z = u[1] 
      A = z.count('A')
      C = z.count('C') 
      G = z.count('G') 
      T = z.count('T')
      sumbases = [A,C,G,T]
      print(sumbases)
  </code></pre>
  
  <p>When I print <code>sumbases</code>, I get this for example:</p>
  
  <pre><code>[1, 2, 3, 4]
  [2, 0, 1, 4]
  </code></pre>
  
  <p>I am trying to format the output like this:</p>
  
  <pre><code>[1, 2, 3, 4],[2, 0, 1, 4]
  </code></pre>
  
  <p>Can anyone show me the problem?  Thanks in advance.</p>