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
/
t189.py
t189.py
124 B
Vēsture
Neapstrādāts
1
2
3
4
5
6
7
8
9
10
def f(n):
yield 1
a, b = n, n + 1
yield 2
yield a
yield b
a = 9999
b = 9999
for i in f(20):
print i