How to choose 10 different integers from range (0, 99)
<p>I want to choose 10 random integers from 0 to 99. I know I can use:</p>

<pre><code>random.randint(a, b)
</code></pre>

<p>But how to tell the randint() that I only want different integers.</p>

<p>Do I have to just check after each random generation to see if the integer has already been generated and call the method again? That does not seem like an optimal solution.</p>
