fork(1) download
  1. demolist = [ 'life', 42, 'the universe', 6, 'and', 7, 'everything' ]
  2.  
  3. for c in range(len(demolist)):
  4. print 'demolist[ {0} ]= {1}'.format(c, demolist[c])
Success #stdin #stdout 0.01s 6356KB
stdin
Standard input is empty
stdout
demolist[ 0 ]= life
demolist[ 1 ]= 42
demolist[ 2 ]= the universe
demolist[ 3 ]= 6
demolist[ 4 ]= and
demolist[ 5 ]= 7
demolist[ 6 ]= everything