def main(): for each in range(5): print(each) print("Done") if __name__ == "__main__": main()
Standard input is empty
0 1 2 3 4 Done
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!