1 | initial version |
I'm really not sure what you are asking. Are you just asking whether you can do these together?
line([(0,1),(1,2),(2,0),(3,0),(4,2)])
line([(0,2),(1,1),(2,3),(3,-1),(4,6)])
The best way (so that you have access to them individually still) is this.
L = line([(0,1),(1,2),(2,0),(3,0),(4,2)])
M = line([(0,2),(1,1),(2,3),(3,-1),(4,6)])
L+M # shows them both
But I'm not convinced this is what you want. Incidentally, enumerate
is very helpful if you already have the data and just need to put it in this kind of 0,1,2,3,...
order.