fork(2) download
  1. i=10
  2. for n in input():exec'r%s=n'%'*+-*/*'[i::5];i=-~i%5
  3. print r
Success #stdin #stdout 0.01s 8976KB
stdin
[-8.0, 50.0, 3.0, 3.0, -123.0, 4.0, 17.0, 99.0, 13.0]
stdout
-1055.35694385