t180.py 129 B

12345678910
  1. def f(n):
  2. i = 0
  3. while i < n:
  4. yield i
  5. i = 100
  6. yield i
  7. i += 1
  8. for i in f(50):
  9. print i