fork download
  1. import random
  2.  
  3. names = ["a", "b", "c", "d", "e"]
  4. random.shuffle(names)
  5. print(names)
Success #stdin #stdout 0.02s 37616KB
stdin
Standard input is empty
stdout
['d', 'e', 'a', 'b', 'c']