title: How can I remove quotes, commas and brackets from lists in Python?
body: <p>I am trying to remove the quotes, commas and brackets from lists in Python. I am new to programming and don't get it.</p>
  <pre><code>import itertools
  l = ['x', 'o']
  card = list(itertools.product(l, repeat= 2))
  print(*card, sep = &quot;\n&quot;)
  
  #output
  ('x', 'x')
  ('x', 'o')
  ('o', 'x')
  ('o', 'o')
  </code></pre>
  <p>Can anyone help? Thanks a lot.</p>