title: How do we make an element in a list go backwards multiple times in python?
body: <p>here is the code I'm working with but it keeps moving the element backwards once not multiple times</p>
  <pre><code>def backwards(input_list):
      total = 0
      while total &lt; 3:
          total +=1
          return input_list[1:] + input_list[:1]
  
  example : a = from ['a', 'b', 'c', 'd'] to ['b', 'c', 'd', 'a'] but multiple times
  </code></pre>