fork download
  1. import random
  2.  
  3.  
  4. for i in range(10):
  5. print str(random.randint(0, 4) - 2)
Success #stdin #stdout 0.02s 10280KB
stdin
Standard input is empty
stdout
0
0
-1
1
1
2
0
-1
2
-2