title: Queue Class, dequeue and enqueue ? python
body: <p>So I have this question and it says create a class queue and make the method dequeue and enqueue </p>
  
  <p>Here's what I have so far, could someone direct me on the right track? </p>
  
  <pre><code>class queue:
        def __init__(self,queue):
              self.queue = []
        def dequeue(self):
              if len(queue) &gt; 0:
                    e = queue[0]
                    queue = list[1:len(queue)]
              else:
                    return "There are no elements to remove"
        def enqueue(self,element):
              queue.insert([-1], element)
  </code></pre>