import randomlst = ['puk', 'pok', 'kek']while lst: i = random.randrange(len(lst)) print(lst.pop(i))
Standard input is empty
kek pok puk
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!