t181.py 95 B

12345678
  1. def f():
  2. y = 0
  3. while y == 0:
  4. y += 1
  5. yield y
  6. for i in f():
  7. print i