On Friday 10 July 2015 02:40 PM, Alan Gauld wrote:
On 10/07/15 01:29, Alan Gauld wrote:
It would be easierv to access the last element directly rather than
looping:
lastCity = route[-1]
Oops. looping -> calculating.
Thank u Steven and Alan,
I am sorry to reply late. Your replies were insightful and particularly
Steven's which was more specific to my problem, although i had a slight
difficulty in understanding them. I will get back to you with the
problem on graph with pylab. Although i am also looking into another
solutions to the same problem (me a Python newbie and programming
hobbyist). i will do some programming and will get back to you with my
results.
Thanks again.
George.
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor