title: How to "convert" a dequed object to string in Python?
body: <p>I am trying to output a rotated version of a string. I have taken a string, <code>z="string"</code>, and created a deque out of it, <code>y=collections.deque(z) (deque(['S','t','r','i','n','g'])</code>, and rotated it using the rotate method. How do I "convert" that deque object I rotated back to a string?</p>