title: Generate 'n' unique random numbers within a range
body: <p>I know how to generate a random number within a range in Python.</p>
  
  <pre><code>random.randint(numLow, numHigh)
  </code></pre>
  
  <p>And I know I can put this in a loop to generate n amount of these numbers</p>
  
  <pre><code>for x in range (0, n):
      listOfNumbers.append(random.randint(numLow, numHigh))
  </code></pre>
  
  <p>However, I need to make sure each number in that list is unique. Other than a load of conditional statements, is there a straightforward way of generating n number of unique random numbers?</p>
  
  <p>The important thing is that each number in the list is different to the others..</p>
  
  <p>So</p>
  
  <p>[12, 5, 6, 1] = good</p>
  
  <p>But</p>
  
  <p>[12, 5, 5, 1] = bad, because the number 5 occurs twice.</p>