[Tutor] Huge list comprehension

Alan Gauld alan.gauld at yahoo.co.uk
Sat Jun 10 04:19:12 EDT 2017


On 10/06/17 08:35, Abdur-Rahmaan Janhangeer wrote:
> take a look at numpy

It seems he already has, np.array is in his code.
It's just the imports that are missing I suspect.

> and don't necessarily give us the whole code. it becomes too long without
> purpose

Yes although in this case it does serve to highlight
the problems with his approach - as highlighted by Peter.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list