OriginalName = ["a", "b", "c"]
ShuffleList = random.shuffle(OriginalName)
print ShuffleList
When I run the above, it returns as 'None'. I am trying to create a new list once it has been shuffled.
I want to create another list that has been created randomly and may resemble ["c", "a", "b"]
Aucun commentaire:
Enregistrer un commentaire