title: How to print a concatenation of a string with a list of strings in a loop
body: <p>I have a list of lists and I want to remove all brackets, commands etc. (&quot;[],'&quot;)</p>
  <pre><code>a=3
  c=[[&quot;A &quot;,[&quot;|   &quot;]*a],
  [&quot;  &quot;,[&quot;|———&quot;]*a],
  [&quot;B &quot;,[&quot;|   &quot;]*a],
  [&quot;  &quot;,[&quot;|———&quot;]*a],
  [&quot;C &quot;,[&quot;|   &quot;]*a],
  [&quot;  &quot;,[&quot;|———&quot;]*a]
  ]
  for line in c:
      print(*line, sep=&quot;&quot;)
  </code></pre>
  <p>I want output like this:</p>
  <pre><code>A |   |   |   
    |———|———|———
  B |   |   |   
    |———|———|———
  C |   |   |   
    |———|———|———
  </code></pre>
  <p>But I'm getting this output:</p>
  <pre><code>A ['|   ', '|   ', '|   ']
    ['|———', '|———', '|———']
  B ['|   ', '|   ', '|   ']
    ['|———', '|———', '|———']
  C ['|   ', '|   ', '|   ']
    ['|———', '|———', '|———']
  
  [Program finished]
  </code></pre>