fork(3) download
  1. # your code goes here
  2. game_over = False
  3. while game_over != True :
  4. for i in range(5) :
  5. if (i == 3) :
  6. game_over = True
  7. break;
  8. print(i)
  9.  
  10.  
Success #stdin #stdout 0.02s 9060KB
stdin
Standard input is empty
stdout
0
1
2