When we run the preceding program, we should see our original deque with elements 1-6. After we have appended 1 using the append(1) function, we then see deque printing out with 1 at the end of our deque object. We then call the appendLeft(6) function, and again print out our deque object, and see 6 appear at the at the start of our deque object.
$ python3.6 04_addRemoveDeque.py
Deque: deque(['1', '2', '3', '4', '5', '6'])
Deque: deque(['1', '2', '3', '4', '5', '6', '1'])
Deque: deque(['6', '1', '2', '3', '4', '5', '6', '1'])