# N-Queens Problem
import random
# Define size of board
SIZE_OF_BOARD = 8
POPULATION_SIZE = 50
population = []
startingIndividual = []
# Populate starting individual
for x in range(0, SIZE_OF_BOARD):
startingIndividual.append(x)
for x in range(0, POPULATION_SIZE - 1):
population.append(startingIndividual)
for x in population:
random.seed()
random.shuffle(x)
print(population)
So, when I run this program I get the same permutation 50 times. Even though I reseed shuffle for each list I am shuffling, the result is still the same. Where exactly am I going wrong?