[Tutor] Python & algorithms (Lang line simplification algorithm)
Alan Gauld
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?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list