Is it possible to make a randomizer that randomizes entire rows using the csvwriter? The code I have is similar to this:
for i in range(45):
count=count+1
writer.writerow((count,pattern))
Where pattern is a number which corresponds to count. For example: when count=1 pattern=1; count=2 pattern=9; count=3 pattern=17, and so on... I want a way to randomize the rows so that the correct count corresponds to the correct pattern still. Any help is greatly appreciated!
Aucun commentaire:
Enregistrer un commentaire