title: running a program over x amount of times
body: <p>I'm trying to write a function that calls a function (roll die() which rolls a die 1000 times and counts on a list [1,2,3,4,5,6] so an outcome might be [100,200,100,300,200,100]) and tells it to run it x amount of times.  It seems my code is printing it over and over again x times</p>
  
  <pre><code>#simulate rolling a six-sided die multiple tiems, and tabulate the results using a list
  import random  #import from the library random so you can generate a random int
  def rollDie(): 
      #have 6 variables and set the counter that equals 0
      one = 0  
      two = 0
      three = 0
      four = 0
      five = 0
      six = 0
      #use a for loop to code how many times you want it to run
      for i in range(0,1000):
          #generate a random integer between 1 and 6
          flip = int(random.randint(1,6))
          # the flip variable is the the number you rolled each time
          #Every number has its own counter
          #if the flip is equal to the corresponding number, add one
          if flip == 1:
              one = one + 1
          elif flip == 2:
              two = two + 1
          elif flip == 3:
              three = three + 1
          elif flip == 4:
              four = four + 1
          elif flip == 5:
              five = five + 1
          elif flip == 6:
              six = six + 1
          #return the new variables as a list
      return [one,two,three,four,five,six]
  </code></pre>
  
  <p>the new function that I am having problems with is:</p>
  
  <pre><code>def simulateRolls(value):
      multipleGames = rollDie() * value
      return multipleGames
  </code></pre>
  
  <p>I would like to see a result like this if you typed in 4 for value</p>
  
  <pre><code>[100,300,200,100,100,200]
  [200,300,200,100,100,100]
  [100,100,100,300,200,200]
  [100,100,200,300,200,100]
  </code></pre>
  
  <p>Can someone guide me in the right direction?</p>