This website works better with JavaScript
Sākums
Izpētīt
Palīdzība
Pierakstīties
jack
/
cocorobolx
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Faili
Problēmas
0
Vikivietne
Koks:
f4db1a0f2f
Atzari
Tagi
master
cocorobolx
/
skulpt
/
test
/
run
/
t180.py
t180.py
129 B
Vēsture
Neapstrādāts
1
2
3
4
5
6
7
8
9
10
def f(n):
i = 0
while i < n:
yield i
i = 100
yield i
i += 1
for i in f(50):
print i