import random names = ["a", "b", "c", "d", "e"]random.shuffle(names)print(names)
Standard input is empty
['d', 'e', 'a', 'b', 'c']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!