fork download
  1. new_string = ""
  2.  
  3. for i in range(10000000):
  4. new_string += 'a'
  5.  
  6. print(new_string[:5])
  7.  
Success #stdin #stdout 2.59s 19320KB
stdin
Standard input is empty
stdout
aaaaa