deletes an element from the front end of the deque
(self)
| 126 | return self.queue.pop(0) |
| 127 | |
| 128 | def delete_front(self): |
| 129 | """ |
| 130 | deletes an element from the front end of the deque |
| 131 | """ |
| 132 | if self.is_full(): |
| 133 | return |
| 134 | else: |
| 135 | return self.queue.pop() |
| 136 | |
| 137 | @staticmethod |
| 138 | def get_code(): |