fork download
  1. s=0
  2. for i in range(4):
  3. s+=i
  4. print(i)
  5. print(s)
Success #stdin #stdout 0.02s 6928KB
stdin
Standard input is empty
stdout
0
1
2
3
6