Python: How to move forward or backward together in String printable
<p>How to shift forward or backward in <code>string.printable</code> whithout <code>string.maketrans</code>?<br /></p>

<p>for example:</p>

<pre><code>&gt;&gt; chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
</code></pre>

<p>and then output is:</p>

<pre><code>123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0
</code></pre>