t187.py 115 B

1234567891011
  1. def gen():
  2. i = 0
  3. funky()
  4. yield 1
  5. i += 1
  6. def funky():
  7. print "cheese"
  8. g = gen()
  9. print g.next()