NO, NO, NO.  The OP is using Python 3.4, and has consistently
shown results accordingly.  x does NOT exist after the list
comprehension.  That was a flaw in python 2.x which has been
fixed.

Sorry about that, all. I still use Python 2.x most of the time, so defaulted to that. I am glad that this was fixed.

Apologies!

-Martin

--
Martin A. Brown
http://linux-ip.net/
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to