fork(3) download
  1. x = 0
  2. while x < 3:
  3. print(x)
  4. x += 1
  5.  
  6. for x in range(0, 3):
  7. print(x)
Success #stdin #stdout 0.02s 9984KB
stdin
Standard input is empty
stdout
0
1
2
0
1
2