t222.py 113 B

12345678
  1. def foo(x):
  2. yield len(x)
  3. yield len(x)
  4. g = foo(range(5))
  5. print g.next()
  6. len = lambda y: 8
  7. print g.next()