Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can just use the list or vector functions

x=2*i+i*j
list(x)
# produces [0,2,0,1]
vector(x)
# produces (0,2,0,1)