codepad
[
create a new paste
]
login
|
about
xavieran
Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages:
About:
Saved pastes by xavieran:
Python
,
pasted on Apr 19:
1
2
3
4
5
def
generate_x
():
i
=
0
while
i
<
10
:
print
i
yield
i
...
view
(9 lines, 20 lines of output)