title: How do i get 10 random values in python?
body: <p>I am new to programming and I got stuck with random number generation. I can simply generate random numbers using random function "randint" but could not generate set of random numbers. For instance i want to get 10 random numbers. </p>
  
  <pre><code>from random import randint
  x = randint(1, 100)
  y = randint(1, 100)
  isFailedTest = (5&lt;=x&lt;=15) and (10&lt;=y&lt;=11)
  selected_test = [x,y]
  while (isFailedTest == False):
  </code></pre>
  
  <p>I can generate 1 random number at one time but not 10 at one time. Here 1 number mean 2 dimensional number example (x,y) = (10,20)  I want to get 10 random numbers (x,y) after my while condition. How do I achieve that? I am very new to programming so could not figure out what could be done. All help/ suggestion/ recommendation is highly appreciated.Thank you.      </p>