Python: Picking an element without replacement
<p>I would like to slice random letters from a string. </p>

<p>Given
s="howdy"</p>

<p>I would like to pick elements from 's' without replacement but keep the index number.</p>

<p>For example</p>

<pre><code>&gt;&gt;&gt; random.sample(s,len(s))
['w', 'h', 'o', 'd', 'y']
</code></pre>

<p>is close to what I want, but I would actually prefer something like</p>

<p>[('w',2), ('h',0), ('o',1), ('d',3), ('y',4)]</p>

<p>with letter-index pairs. This is important because the same letter appears in 's' more than once. ie) "letter" where 't' appears twice but I need to distinguish the first 't' from the second.</p>

<p>Ideally I actually only need to generate/pick letters as I need them but scrambling and calculating all the letters at once (ie: in a list as shown above) is ok.</p>
