First time here? Check out the FAQ!
answered 2015-10-15 05:35:51 +0100
You can just use the list or vector functions
list
vector
x=2*i+i*j list(x) # produces [0,2,0,1] vector(x) # produces (0,2,0,1)