(self)
return self._array[self._front]
returns the front element of queue.
returns the front element of queue.
returns the front element of queue .
def peek(self):
        """returns the front element of queue."""
        if self.is_empty():
            raise IndexError("Queue is empty")
        return self._array[self._front]
def peek ( self ) : if self . is_empty ( ) : raise IndexError ( "Queue is empty" ) return self . _array [ self . _front ]