spacepaste
new
Paste details
reply
|
raw
>>> x = ((yield x) for x in range(10))
>>> x.next()
0
>>> x.next()
>>> x.next()
1
>>> x.next()
>>> x.next()
2
>>>