title: Python - How to add a single bracket to the beginning and end of a list
body: <p>So I'm to return <code>[[1, 2, 3, 4, 5, 1, 2, 3, 4, 5]]</code> using <code>L = [1,2,3,4,5]</code> as the starting list</p>
  
  <p>Everytime I try using </p>
  
  <pre><code>a = [1  
  L.insert(0,a)
  </code></pre>
  
  <p>to get the first bracket or use</p>
  
  <pre><code>L.append(]} 
  </code></pre>
  
  <p>to get the last bracket, I just get ... in the command prompt like it's an if/else statement.</p>
  
  <p>I know I can use just <code>L.extend(L)</code> to get the 1,2,3,4,5 added at the end, but I'm not quite sure how to get the brackets in without adding a <code>''</code> marks around them. </p>