First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 9 years ago

ndomes gravatar image

If you have two separated lists of values you can zip the lists:

Y = [0,1,2,3]
X = [3,2,12,5]
P = zip(X,Y)
print P
points(P)