fork download
  1. def _minus100_1_2_3_and_100():
  2. yield -100
  3. for i in range(1, 4): yield i
  4. yield 100
  5.  
  6. for x in _minus100_1_2_3_and_100():
  7. print(x, end=" ")
Success #stdin #stdout 0.02s 9316KB
stdin
Standard input is empty
stdout
-100 1 2 3 100