t536.py 128 B

1234567
  1. def f():
  2. pool = (8, 9)
  3. print type(pool)
  4. yield list(pool[i] for i in range(2))
  5. print type(pool)
  6. print list(f())