[Tutor] Python & algorithms (Lang line simplification algorithm)
alan.gauld at btinternet.com
Tue Apr 15 01:24:30 CEST 2014
On 14/04/14 21:21, Laura Kauria wrote:
> line = new Line( pointList[startPoint], pointList[endPoint])
line = Line(pointList[startPoint], pointList[endPoint])
is the translation. But that probably doesn't help much.
> I've done point list and indexes already, put don't know how to create
> the line.
See my other post. What do you mean by "create a line"?
What is your expectation of the end result?
Author of the Learn to Program web site
More information about the Tutor