title: How to make a queue list in python?
body: <p>how can i do queue?</p>
  <p>mylist = [1, 2, 3]</p>
  <p>i want to enter <strong>mylist</strong> in this function and i want get new list like this:
  [4, 2, 3] further [5, 4, 3] further [6, 5, 4] etc</p>
  <pre><code>def testfunc(mylist):
      return mylist
  </code></pre>
  <p>Thanks in advance.</p>