t178.py 208 B

12345678910111213141516
  1. def f(n):
  2. i = 0
  3. yield i
  4. i += 1
  5. j = i
  6. yield i
  7. yield j
  8. j *= 100
  9. i += j
  10. yield j
  11. yield i
  12. yield n + i
  13. for i in f(10): # i to conflict with body
  14. j = 999
  15. print i