title: How do you create a program that shuffles a list without using the "shuffle" function?
body: <p>I'm creating a program that will shuffle a list of 100 random numbers, and then swap/shuffle them 1000 times, without using the "shuffle" function. The problem is, my program doesn't work correctly. The numbers are not shuffled thoroughly at all, and I can't figure out a way to use a for loop to shuffle the numbers more than 1000 times. Help would be appreciated.</p>
  
  <pre><code>import random
  originalnum_list=[]
  num_list=[]
  num_list1 = []
  num_list2 = []
  for num in range(100):
      num_list1.append(random.randrange(0,51))
  
  for num in range(100):
      num_list2.append(random.randrange(0,51))
  originalnum_list.append(num_list1)
  originalnum_list.append(num_list2)
  print "The computer entered: " + str(originalnum_list)
  
  for shuffle in range(0,1001):
      shuffle=num_list1
      num_list1=num_list2
      num_list2=shuffle
  num_list.append(num_list1)
  num_list.append(num_list2) 
  print "The shuffeled result is: " + str(num_list)
  </code></pre>