new_string = "" for i in range(10000000): new_string += 'a' print(new_string[:5])
Standard input is empty
aaaaa
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!