fork download
  1. record = [str(x) for x in range(10)]
  2. print record
  3.  
  4. import sys
  5. output_pass=sys.stdout
  6.  
  7. counter = 0
  8.  
  9. while counter != (len(record))-1:
  10. output_pass.write("%s\n" % record[counter])
  11. counter += 1
Success #stdin #stdout #stderr 0.03s 42064KB
stdin
Standard input is empty
stdout
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
0
1
2
3
4
5
6
7
8
stderr
Warning: cannot find your CPU L2 cache size in /proc/cpuinfo