Y
Hacker News
new
|
ask
|
show
|
jobs
by
shoo
5131 days ago
Or with numpy:
2 * numpy.arange(1, 11)
The usual notation for working with elements of vector spaces is nice when working with arrays of numbers.