title: How to swap multiple elements in list (Python)
body: <p>how can we swap the multiple element in the list?</p>
  
  <pre><code>a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
  </code></pre>
  
  <p>if i want to swap 1, 2, 3, 4 to the bottom and 11, 12 to the top, like:</p>
  
  <pre><code>a = [11, 12, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4]
  </code></pre>
  
  <p>i've used tuple method:</p>
  
  <pre><code>(a[:4], a[10:]) = (a[10:], a[:4])
  </code></pre>
  
  <p>but the output is different, which is:</p>
  
  <pre><code>a = [11, 12, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4]
  </code></pre>
  
  <p>why this is wrong, how can i correct it ?</p>