data = [1,2,3] for i in data: print i data = [4,5,6] print 'done'
Standard input is empty
1 2 3 done
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!