j
k
j a
j l
.........x = [1] x.extend(-y for y in x)
......x = [1] x.extend(-y for y in x)
...x = [1] x.extend(-y for y in x)
x = [1] x.extend(-y for y in x)
In comparison, the classic form doesn't seem as magical: x = [1] for y in x: x.append(-y) Raymond
Back to the thread
Back to the list