title: How can I display the contents of a list or a deque in Python?
body: <p>I have objects which I place on a FIFO implemented as a list and I have a <strong>str</strong> defined for my object. How can I get print(stack) to show the str for the object and not just the reference to the object?</p>