title: Python: Appending a list by other lists
body: <p>I want to append the lists &quot;b&quot;, &quot;c&quot; and &quot;d&quot; to my list &quot;a&quot;. Then i want to print the single lists in each line. My expected output is:</p>
  <pre><code>[(4, 'Blue'), (3, 'Red'), (4, 'Red')]
  [(2, 'Green'), (4, 'Green'), (1, 'Yellow')]
  [(1, 'Green'), (3, 'Blue'), (3, 'Green')]
  [(2, 'Blue'), (1, 'Red'), (4, 'Yellow')]
  </code></pre>
  <p>My current code is:</p>
  <pre><code>a = [(4, 'Blue'), (3, 'Red'), (4, 'Red')]
  b = [(2, 'Green'), (4, 'Green'), (1, 'Yellow')]
  c = [(1, 'Green'), (3, 'Blue'), (3, 'Green')]
  d = [(2, 'Blue'), (1, 'Red'), (4, 'Yellow')]
  
  a.append(b)
  a.append(c)
  a.append(d)
  
  for x in a:
      print(x)
  </code></pre>
  <p>My current output is:</p>
  <pre><code>(4, 'Blue')
  (3, 'Red')
  (4, 'Red')
  [(2, 'Green'), (4, 'Green'), (1, 'Yellow')]
  [(1, 'Green'), (3, 'Blue'), (3, 'Green')]
  [(2, 'Blue'), (1, 'Red'), (4, 'Yellow')]
  </code></pre>
  <p>As you see the first 3 lines of output are separated and not together. How can I change this so that it appears according to my expected output?</p>