unique pin generator
<p>The task is to generate a given number of numeric pins of a given length.
Here's the code I came up with for a particular case of numeric pins that don't start with 0:</p>

<pre><code>def generate_pins(length, count):
    return random.sample(range(int('1' + '0' * (length - 1)), int('9' * length)), count)
</code></pre>

<p>How would you implement it?</p>

<p>EDIT: Pins shouldn't repeat.</p>

<p>EDIT2: Probably let's extend this example so that pin can contain any alphanumeric symbol.</p>
